So Im trying to put the finishing touches on my map, its nearly complete, already tryed it some online and now just fixing the few last things that I find wrong, and one of the things I found is that I have a winning trigger, but none to make the players loose, so everyone can just continue...
here is the winning trigger:
Now I want the map to make everyone loose when the variable "IntegerKill" reaches 30 for someone, except the player that has 30...
Ive been all day trying to figgure this out so a little nudge in the right directions would be greatly appriciated !
here is the winning trigger:
Code:
Win
Events
Unit - A unit Dies
Conditions
((Killing unit) is A Hero) Equal to True
((Triggering unit) is A Hero) Equal to True
Actions
Set IntegerKill[(Player number of (Owner of (Killing unit)))] = (IntegerKill[(Player number of (Owner of (Killing unit)))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
IntegerKill[(Player number of (Owner of (Killing unit)))] Equal to 30
Then - Actions
Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
Else - Actions
Do nothing
Now I want the map to make everyone loose when the variable "IntegerKill" reaches 30 for someone, except the player that has 30...
Ive been all day trying to figgure this out so a little nudge in the right directions would be greatly appriciated !