Isn't raise/lower considered ability?
Make a boolean variable = RaisedStatus
Event
Timer Expires (or whatever the event is for that)
Action
If RaisedStatus = True
Pick every unit in (Units in Region X) and issue order (Supply Depot - Lower (Supply Depot)) (Replace existing orders)
Set RaisedStatus = False
Else do
Pick every unit in (Units in region X) and issue order (Supply depot - Raise (Supply Depot)) (Replace existing orders)
Set RaisedStatus = True
Something like that? Sorry for the crappy markup. I don't know how to do line breaks :/
Since the editor doesn't have any doodads for gates (or at least I haven't found one that can open and close) I am using supply depots for gates.
I want to have supply depots raise and lower once a timer expires. These supply depots cannot be controlled by any player. This is what I have so far:
DoorsTimerexpires Events TriggerAddEventTimer(doorsTimer) Local Variables
Here's what I want to do: Conditions Actions Toggle Raise/Lower all supply depots in Region X.
Any ideas of how to do the actions part?
@Genopath: Go
bump!
@Genopath: Go
Isn't raise/lower considered ability? Make a boolean variable = RaisedStatus Event Timer Expires (or whatever the event is for that)
Action If RaisedStatus = True Pick every unit in (Units in Region X) and issue order (Supply Depot - Lower (Supply Depot)) (Replace existing orders) Set RaisedStatus = False Else do Pick every unit in (Units in region X) and issue order (Supply depot - Raise (Supply Depot)) (Replace existing orders) Set RaisedStatus = True
Something like that? Sorry for the crappy markup. I don't know how to do line breaks :/