[Trigger] What is missing in my equip trigger? add to it

Status
Not open for further replies.
Level 8
Joined
Nov 21, 2008
Messages
316
This is the basic layout for all my equip triggers, how do i make it so when the unit replaces, the items in inventory remain intact, and if the item is clickd again its removed.

  • Troll Shadowhunter
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to |cffff8c00Boomerang|r
    • Actions
      • Unit - Replace (Triggering unit) with a Troll Shadow Hunter using The old unit's relative life and mana
write the what new trigger should look like plz
 
Not sure what you mean but:

Keeping items goes like this:

You need an item array with 6 slots:

Event: A unit Uses an item
Condition: Same as yours
Action:
For integer a 1 - 6 do actions
set item[integer a] = item in slot integer a for triggering unit
replace unit
for integer a 1 - 6 do actions
create 1 item of type "item[integer a]" for last created unit (if that works)
 
Status
Not open for further replies.
Back
Top