[Trigger] Easy trigger I cant do!

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2010
Messages
63
I need to when an unit enters an region, it drops all itens in his inventory and immediatly pick them, this must be instant.
I cant find a way to do it, even though its easy ¬¬
Thnaks in advance
 
Question: Why would you want that?

Trigger:
  • Blah
    • Events
      • Unit - A unit enters Region 000 <gen>
    • Conditions
      • (Triggering unit) Equal to (Damage source)
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Hero - Drop the item from slot (Integer A) of (Triggering unit)
          • Item - Pick every item in (The Region the unit entered) and do (Hero - Give (Picked item) to (Triggering unit))
Although, condition is not needed here, but in case you want a specific unit to drop items, I put condition...
Hope this works correctly for you
 
^ Put the Item- Pick every item . . . and put it under the for rather than in or save the item to a variable and do Hero - Give (TempItem) to (TriggeringUnit)
 
Status
Not open for further replies.
Back
Top