- Joined
- Aug 31, 2008
- Messages
- 27
Hello Hive community . I need help with the winning conditions .
First of all , I am making a map , something like and Labyrinth Arena .
I want to set the victory conditions so when Team 1 or Team 2 gets 40 kills , the Team to get them wins the game and teh otehr one looses . But i really dont know how . Im really a mega noob with triggers and have no idea what to do .
I found this :
Event:A unit is killed
Actions:
If killing unit is owned by team one
then set kills1 integer=kills1 integer + 1
else do nothing
If killing unit is owned by team two
then set kills2 integer=kills2 integer + 1
else do nothing
if kills1 integer is greater than 499
then victory for team1
defeat for team2
if kills2 integer is greater than 499
then victory for team2
defeat for team1
But as i said before i really dont know what a trigger is , im a noob with triggers so if there is another way to modify the winning condiotions . If not can you explain me , in [RAINBOW]details[/RAINBOW] how do i set those conditions .
First of all , I am making a map , something like and Labyrinth Arena .
I want to set the victory conditions so when Team 1 or Team 2 gets 40 kills , the Team to get them wins the game and teh otehr one looses . But i really dont know how . Im really a mega noob with triggers and have no idea what to do .
I found this :
Event:A unit is killed
Actions:
If killing unit is owned by team one
then set kills1 integer=kills1 integer + 1
else do nothing
If killing unit is owned by team two
then set kills2 integer=kills2 integer + 1
else do nothing
if kills1 integer is greater than 499
then victory for team1
defeat for team2
if kills2 integer is greater than 499
then victory for team2
defeat for team1
But as i said before i really dont know what a trigger is , im a noob with triggers so if there is another way to modify the winning condiotions . If not can you explain me , in [RAINBOW]details[/RAINBOW] how do i set those conditions .