why does it not work?

Status
Not open for further replies.
Level 4
Joined
Dec 12, 2008
Messages
98
first of all, sorry for all those questions :hohum:
But now, i made a water thingy that you can fill your "empty Vial" when you are in a Region (close to water) and replace it with a "Full Vial" but the trigger i used wont work:
  • Water Initalization
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Empty Vial
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (water 1 <gen> contains (Triggering unit)) Equal to True
        • Then - Actions
          • Item - Remove (Item being manipulated)
          • Hero - Create Full Vial and give it to (Triggering unit)
        • Else - Actions
          • Hero - Create Empty Vial and give it to (Triggering unit)
why doesn't work? thx
 
(water 1 <gen> contains (Triggering unit)) Equal to True
I haven't seen that before;
It should be:
  • Set Point1 = (Position of (Triggering unit))
  • If (All conditions are true) then do (Actions) else do (Actions)
    • If - Conditions
      • (water 1 <gen> contains (Point1)) Equal to True
    • Then - Actions
      • Hero - Drop (Item being manipulated) from (Triggering unit)
      • Item - Remove (Last dropped item)
    • Else - Actions
  • Custom script: call RemoveLocation (udg_Point1)
 
Level 4
Joined
Dec 12, 2008
Messages
98
still not working, when i click on the empty Vial, nothing happens

ps. oh, Pharao can you look on the other thread of me if you want?, i posted another question :)
 
Level 4
Joined
Dec 12, 2008
Messages
98
thx! but when i click the empty vial he moves to the second slot... anyway, i shall credit you :)

ps. what style of map are you making?
 
Status
Not open for further replies.
Top