- Joined
- Feb 1, 2012
- Messages
- 31
Ok so , someone helped me by making a trigger for me on another thred. The problem is , that i cant make it the same . Really! im stuck .
Here's the trigger:
End Game
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Set Unit = (Killing unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of Unit) is an ally of Player 1 (Red)) Equal to True
Then - Actions
Set Horde_Kills = (Horde_Kills + 1)
Else - Actions
Set Alliance_Kills = (Alliance_Kills + 1)
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Horde_Kills Greater than or equal to 100
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Horde Wins <gen> (ignoring conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Alliance_Kills Greater than or equal to 100
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Alliance Wins <gen> (ignoring conditions)
Else - Actions
I cant manage to do the following: ((Owner of Unit) is an ally of Player 1 (Red)) Equal to True. It is just forcing me to do : ((Owner of Unit) Equal to Player 1 (Red))
Im tryng to make these stupid line for days. Damn.
Please explain me how to do these :''((Owner of Unit) is an ally of Player 1 (Red)) Equal to True''////// and maby these too '' Set Horde_Kills = (Horde_Kills + 1)''
I really think , even if i manage to do these , im going to get stuck again shortly. Thnx.
Here's the trigger:
End Game
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Set Unit = (Killing unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of Unit) is an ally of Player 1 (Red)) Equal to True
Then - Actions
Set Horde_Kills = (Horde_Kills + 1)
Else - Actions
Set Alliance_Kills = (Alliance_Kills + 1)
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Horde_Kills Greater than or equal to 100
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Horde Wins <gen> (ignoring conditions)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Alliance_Kills Greater than or equal to 100
Then - Actions
Trigger - Turn off (This trigger)
Trigger - Run Alliance Wins <gen> (ignoring conditions)
Else - Actions
I cant manage to do the following: ((Owner of Unit) is an ally of Player 1 (Red)) Equal to True. It is just forcing me to do : ((Owner of Unit) Equal to Player 1 (Red))
Im tryng to make these stupid line for days. Damn.
Please explain me how to do these :''((Owner of Unit) is an ally of Player 1 (Red)) Equal to True''////// and maby these too '' Set Horde_Kills = (Horde_Kills + 1)''
I really think , even if i manage to do these , im going to get stuck again shortly. Thnx.