So i have some gate triggers in my game, like this...
SOOO, whoever is gonna open it the 2nd time around, the alert won't work. Also, functions in my game require mobs to attack this specific gate, but since the ID is changed everytime the door is opened and closed, they wont be able to.
SOO, how do i make it to where it can stay the same ID?
-
OpenGate
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Open Gate
-
Actions
- Unit - Replace (Casting unit) with a Wall Gate (Opened) using The old unit's relative life and mana
- Animation - Play (Last replaced unit)'s Death Alternate animation, using only Common animations
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
And - All (Conditions) are true
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
- (Casting unit) Equal to Wall Gate 0156 <gen>
- (Casting unit) Equal to Wall Gate 0155 <gen>
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
And - All (Conditions) are true
-
Then - Actions
- Game - Display to (All players) for 2.00 seconds the text: ((Name of (Owner of (Casting unit))) + has opened one of the back gates.)
- Sound - Play ArrangedTeamInvitation <gen>
- Else - Actions
-
If - Conditions
-
Events
SOOO, whoever is gonna open it the 2nd time around, the alert won't work. Also, functions in my game require mobs to attack this specific gate, but since the ID is changed everytime the door is opened and closed, they wont be able to.
SOO, how do i make it to where it can stay the same ID?