- Joined
- Sep 27, 2011
- Messages
- 141
Using the action Skip Remaining actions in my trigger i find that it carries on with the rest of the functions after i used this. And yes the condition is being met as the text is displayed. Can someone tell me what is wrong.
-
Choose Hero
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Choose Hero
-
-

Actions
-


Set Temp_Player = (Triggering player)
-


Set Player_Number = (Player number of Temp_Player)
-


Set Chosen_Hero[Player_Number] = Hero[Hero_Pick_Number[Player_Number]]
-


Set Heroes = (Units in Healing Area <gen> matching (((Matching unit) is A Hero) Equal to True))
-


Set Single_Player = (All players matching (Temp_Player Equal to (Matching player)))
-


Unit Group - Pick every unit in Heroes and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Unit-type of (Picked unit)) Equal to Chosen_Hero[Player_Number]
-
-





Then - Actions
-






Game - Display to Single_Player the text: This hero has alrea...
-






Custom script: call DestroyGroup(udg_Heroes)
-






Custom script: call DestroyForce(udg_Single_Player)
-






Skip remaining actions
-
-





Else - Actions
-
-
-
-


Countdown Timer - Start Confirm_Timer[Player_Number] as a One-shot timer that will expire in 5.00 seconds
-


Unit - Add Confirm to (Triggering unit)
-


Custom script: call DestroyGroup(udg_Heroes)
-


Custom script: call DestroyForce(udg_Single_Player)
-
-

