Need Trigger Help

Ryder123

Member!
Joined
Jan 3, 2005
Messages
19
Reaction score
0
Location
Vancouver (hell of canada)
Im trying to make a game based on counter strike but sadly i cant fix the first bug i encountered. I tried to make it so after one team has had every person killed they lose. I made both teams have these triggers. The trigger i thought would work didnt this is what is was...
Players
-Counter-Terrorists

Conditions
-Current player has lowest score kills

Actions
-Display for current player "you lose!"
-Wait 2000 milliseconds
-End scenario in defeat for current player

I also made one for winning it is...

Players
-Counter-Terrorists

Conditions
-Current player has highest score kills

Actions
-Display for current player "you win!"
-Wait 2000 milliseconds
-End scenario in victory for current player
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
Well, if the bug is that you lose when the game starts, that is because the condition 'Current player has lowest score kills' is making you lose the game. When you start the game, everyone has the same kills score, 0. So they all have the lowest kills score thus making them lose the game.
If that's not the bug or if there are more bugs, please post the map and I'll see what I can do.
 

Kc)Blaze

Member!
Joined
Nov 29, 2003
Messages
20
Reaction score
0
Website
Visit site
ur tryin to make it lose for that team once they lose all their players? if so u can try
-Players
-Counter-Terrorists

-Conditions:

-Counter-Terrorists commands atleast 0 (wutever the units are)

-Actions:

-Display for current player "you lose!"
-Wait 2000
-End Scenario for Current player
 

Lwek

Member!
Joined
May 18, 2003
Messages
4,487
Reaction score
0
Website
www.Battleforums.com
Like before, the problem is that when the game starts, everyone has the same kill score. The kill score is 0. That means that everyone's kills score is the lowest.
Since I don't know how your game works, the best help I can give you is for you to add this condition:
CONDITION
-Elapsed scenario time is 'duration' game seconds.

For 'duration' put in a time where you know that atleast all the players in the game has gotten points.
 

NewPosts

New threads

Top