Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ON=@KILL TRIGGER
Author Message
dabritmusic
Journeyman
*

Posts: 50
Likes Given: 8
Likes Received: 2 in 1 posts
Joined: Nov 2013
Reputation: 0



Post: #1
ON=@KILL TRIGGER
does the ON=@KILL trigger serve just for players or npcs also? im making an event for bosses. so when the play kills the boss it add ''Legendary Points'' its basically gonna be a system that gives the players a chance to collect the bosses armor through these points. i also made the armor craftable but the req skill is so high, players need a few unique skill clothing create which are dropped on highest lvl under the boss...

ON=KILL
if (<isevent.e_boss>)
src.tag.lp +=<r1,5>
src.sysmessage @0481 You have gained some Legendary Points for the defeating <src.name>!
src.message @0ba7 You now have you now have : <eval <src.tag.lp>>!
return 1
endif
03-01-2014 01:37 PM
Find all posts by this user Like Post Quote this message in a reply
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #2
RE: ON=@KILL TRIGGER
Yes, it works for NPCs too;

ARGO - The character killed.
SRC - The character who killed.

So, if you want to check anything on the boss, that event for example, you must use ARGO. Tongue

amIright? Just trying to help. Tongue
(This post was last modified: 03-01-2014 03:10 PM by pinku.)
03-01-2014 03:08 PM
Find all posts by this user Like Post Quote this message in a reply
JohnVeritas
Apprentice
*

Posts: 49
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 2



Post: #3
RE: ON=@KILL TRIGGER
on=@deathcorpse
ref1=<attacker.max> // who ever did most damage only he gots LP
if <ref1.isplayer> // if max damage doner is player.
ref1.tag.lp +=<r1,5>
ref1.sysmessage @0481 You have gained some Legendary Points for the defeating <argo.name>!
ref1.message @0ba7 You now have you now have : <eval <ref1.tag.lp>>!
endif

Try this one if you put retun 1 after @kill trigger you cant kill boss actually. If you add this trigger under boss script when he dead, whoever done most damage, he will take LP's otherwise ppl just attack randomly bosses and when it dead they all got LP's
03-01-2014 08:22 PM
Find all posts by this user Like Post Quote this message in a reply
dabritmusic
Journeyman
*

Posts: 50
Likes Given: 8
Likes Received: 2 in 1 posts
Joined: Nov 2013
Reputation: 0



Post: #4
RE: ON=@KILL TRIGGER
thanks a bunch
03-02-2014 01:19 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)