lllidan
New Member
- Reaction score
- 22
your still gonna have a train right? For the poor folk who cant afford cars?
lllidan said:your supposed to change the trigger to suit your map. All you'd have to do is have a line going through your map. Oh and you did notice that it is timed, and how is it complicated for multiplayer?
ban-lord2 said:its the hero picking system i have... it wouldnt work on a variable either sadly i've already tried..
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Highway <gen>)) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is being transported) Equal to True
Then - Actions
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - 1.00)
Else - Actions
Untitled Trigger 002
Events
Unit - A unit enters Gas_Station <gen>
Conditions
((Entering unit) is being transported) Equal to True
Actions
Unit - Pause (Triggering unit)
Wait 10.00 game-time seconds
Unit - Unpause (Triggering unit)
Unit - Set mana of (Entering unit) to 100.00%
lllidan said:Or you could set the gas amount high, and have it consuming whenever your in it, moving or not (why should game people not have to pay for used gas at stoplights?). That'd be pretty easy to do.
Code:Untitled Trigger 001 Events Time - Every 1.00 seconds of game time Conditions ((Triggering unit) is being transported) Equal to True Actions Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) - 1.00)