Varent
V
Varent
Hey guys, I was wondering if anyone could help me out with this ability trigger I'm trying to get working correctly.
Currently the trigger works, I have an ability on a unit - that when cast, it opens the main gate to the city, and closes itself after 10 seconds:
Event
-Player Casts a spell
Condition
-Ability being cast = open gate
-Casting unit is in XXX region
Actions
-destr-open gate XXX
-wait 10 seconds
-destr-close gate XXX
However, I couldn't find the condition trigger for a casting unit required to be in a region.
Could anyone please lend me a hand to get this trigger functioning?
Currently the trigger works, I have an ability on a unit - that when cast, it opens the main gate to the city, and closes itself after 10 seconds:
-
Events
-

Unit - A unit owned by Player 1 (Red) Begins casting an ability
-
-
Conditions
-

(Ability being cast) Equal to Open Gate
-
-
Actions
-

Destructible - Open Gate (Horizontal) 0004 <gen>
-

Wait 10.00 seconds
-

Destructible - Close Gate (Horizontal) 0004 <gen>
-
Event
-Player Casts a spell
Condition
-Ability being cast = open gate
-Casting unit is in XXX region
Actions
-destr-open gate XXX
-wait 10 seconds
-destr-close gate XXX
However, I couldn't find the condition trigger for a casting unit required to be in a region.
Could anyone please lend me a hand to get this trigger functioning?

