EDIT: (Thank you very much for help with variables!) I seem to be having a problem making the Hellion selected as a unit when I'm doing actions. For example - the way I select the Hellion *under the unit section of a trigger. In the first two examples I use presets (I don't want to use those), in the following one, I don't (because I can't):
Example 1:
Unit - Hellion [18.61, 46.21] uses Hellion - <c val="FFFF00">C</c>harge Shields at Generic6 - Complete stage (Ignore shared abilities)
Example 2:
Unit - Hellion [18.61, 46.21] dies
Example 3:
Unit Group - Pick each unit in (Hellion - Land Mine units in (Entire map) owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most 1) and do (Actions)
It feels as though there is a better way of selecting this single hellion. Herein lies the question: Is there are least a better way to go about doing this? Or is this reallly the best way to do it?
there are global variables, you make them in the side pane where the triggers are listed, these wont get wiped after a trigger ends, and there is an action called select unit, just use that and for unit just select the hellion (which can be set to a global variable)
to make a global variable, hit ctrl-b. Although I believe LinkD misunderstood you. I believe you mean not to select the unit, (like in game clicking on it) but using the specific unit in a trigger. It would be helpful if you could post the text of the trigger (right click copy text) so i could further help you out.
As for problem 2 this is the way i use.
Events
Player - Player Any Player leaves the game with Any
Conditions
(Number of players in (Active Players)) == 1
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Game - End game in Victory for player (Picked player) (Show dialogs, Show score screen)
for the event, chose player leaves game and change with victory to any.
for the condition choose number of players in player group, and then active players as th eplayer group. Make it equal to value 1
fro actions choose pick each player in player group, change it to active players. then under actions for that, choose end game, and choose victory.
you also have to have the triggers ending the game in defeat or all the others of course.
EDIT: (Thank you very much for help with variables!) I seem to be having a problem making the Hellion selected as a unit when I'm doing actions. For example - the way I select the Hellion *under the unit section of a trigger. In the first two examples I use presets (I don't want to use those), in the following one, I don't (because I can't):
Example 1: Unit - Hellion [18.61, 46.21] uses Hellion - <c val="FFFF00">C</c>harge Shields at Generic6 - Complete stage (Ignore shared abilities)
Example 2: Unit - Hellion [18.61, 46.21] dies
Example 3: Unit Group - Pick each unit in (Hellion - Land Mine units in (Entire map) owned by player 2 matching Excluded: Missile, Dead, Hidden, with at most 1) and do (Actions)
It feels as though there is a better way of selecting this single hellion. Herein lies the question: Is there are least a better way to go about doing this? Or is this reallly the best way to do it?
Problem 2 has been resolved! Thank you!
@zRedFoxz:
there are global variables, you make them in the side pane where the triggers are listed, these wont get wiped after a trigger ends, and there is an action called select unit, just use that and for unit just select the hellion (which can be set to a global variable)
to make a global variable, hit ctrl-b. Although I believe LinkD misunderstood you. I believe you mean not to select the unit, (like in game clicking on it) but using the specific unit in a trigger. It would be helpful if you could post the text of the trigger (right click copy text) so i could further help you out.
As for problem 2 this is the way i use.
Events
Player - Player Any Player leaves the game with Any
Conditions
(Number of players in (Active Players)) == 1
Actions Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Game - End game in Victory for player (Picked player) (Show dialogs, Show score screen)
for the event, chose player leaves game and change with victory to any. for the condition choose number of players in player group, and then active players as th eplayer group. Make it equal to value 1 fro actions choose pick each player in player group, change it to active players. then under actions for that, choose end game, and choose victory.
you also have to have the triggers ending the game in defeat or all the others of course.