Advertisement
stoneharry

Untitled

May 18th, 2011
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local function OnUnitDied(pUnit, Event)
  2.     pUnit:SpawnCreature(entry, x, y, z, o, 35, 0, weaponslot1, weaponslot2, weaponslot3, 1, 0) -- change entry, x, y, z, o and weaponslot1/2/3 to items you want to be equipped
  3. end
  4.  
  5. RegisterUnitEvent(EntryIDHere, 4, "OnUnitDied") - change entryid to 5000 example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement