crystalguard
New Member
- Reaction score
- 11
I am makeing a tag map, and for some reason I cannot make this revive trigger work:banghead:
Can anyone revise this trigger so it will work (properly and all the time (which was problem in my map) i dont care if it leaks (as long as it is not to bad) also can you make it in GUI
Trigger one (intially enabled)
Events: Unit Dies
Conditions: Dying unit = (tag Unit)
Actions: Create 1 (captured tag unit) for (owner of (Dying unit)) at (center of(jail))
Turn on (Trigger Two)
Trigger Two (Disabled intialy)
Events: Unit enters (Jail)
Conditions: Unit type of (entering unit) = (tag unit)
Actions:Set (revive_point) to (random # from 1-4)
Pick every unit in (jail) matching condition (Matching Unit belongs to an ally of player 1 = true) and (Matching unit type = Captured tag unit)
Loop Actions:
Remove (picked unit) from gameSet (Revive_point) to 0
If/Then/Else
If- Revive_point = 1
Then- Create (tag unit) for (Owner of Picked Unit) at (revive 1) faceing defult building degrees
Else- Do Nothin
If- Revive_point = 2
Then- Create (tag unit) for (Owner of Picked Unit) at (revive 2) faceing defult building degrees
Else- Do Nothin
If- Revive_point = 3
Then- Create (tag unit) for (Owner of Picked Unit) at (revive 3) faceing defult building degrees
Else- Do Nothin
If- Revive_point = 4
Then- Create (tag unit) for (Owner of Picked Unit) at (revive 4) faceing defult building degrees
Else- Do Nothin
Turn off (this Trigger)
Can anyone revise this trigger so it will work (properly and all the time (which was problem in my map) i dont care if it leaks (as long as it is not to bad) also can you make it in GUI