Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOW TO LOOT NPC NPC ONE DEAD DEAD OR CHAR
Author Message
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #1
HOW TO LOOT NPC NPC ONE DEAD DEAD OR CHAR
Anyone have this script or to put this event on npc?
02-28-2014 11:22 PM
Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #2
RE: HOW TO LOOT NPC NPC ONE DEAD DEAD OR CHAR
[EVENTS e_all_npc]

ON=@ItemStep
f_npc_looter
return 0


[FUNCTION f_npc_looter]
IF (STRMATCH("<REGION.NAME>","Lost Island"))
RETURN 0
ENDIF
IF (<FINDID.i_rune_summon_creature>) || (<FLAGS>&statf_conjured) || (<region.tag0.newbie>==1)
RETURN 0
ENDIF
IF (<ACT.TAG0.NONPVP>==1)
RETURN 0
ENDIF
IF (<ACT.ID>==02006) //corpse
IF (<ACT.RESCOUNT>) //there is something in there!
TAG.ITEM=<eval rand(<eval <ACT.RESCOUNT>>)> //Random Item number...
say You notice <name> looting <act.name>
TRY UID.<SRC.ACT.UID>.FINDCONT.<TAG.ITEM>.BOUNCE //Grab that item!
ENDIF
ENDIF
03-01-2014 01:35 AM
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)