| 07-08-2005, 04:04 PM | #1 |
Okay, for my map (in my sig), I got EVERYTHING I need ready and put in the map, my only problem is, I can't figure out how to place the win senario. There are for teams, Top = Red, Blue, Teal Left = Purple, Yellow, Orange Ect. Get it? I need (a) trigger(s) that make a team win if they have no opponents, but I can't figure it out. I do have something planned, but that would end up being 70% of my map, meaning it'll be bigger, and it'll take forever. I need a little help, If you need more info, check out the thread in my sig, Rifle Game 'Shot' 0.5 Beta or ask me here. |
| 07-08-2005, 07:00 PM | #2 |
Sorta like this, but not exactly, because I haven't used WE in a while and forget the exact wording Player group - for each player in all players (except computers) Player group - for each player in all players (except computers) excluding (picked player) whos game status is equal to not playing set variable = variable + 1 if variable = number of players in game Victory for (Picked Player) Also, this is in the wrong section of the forums. |
| 07-08-2005, 09:22 PM | #3 | |
Quote:
Oh oops, they will end up being moved anyway, lol. Thanks. Could you use example variables? So it makes a little more sense? I also need what variables, what are the conditions, what are the events, what are the actions, i need just a little more detail. I'm not getting snappy or mad, i'm just confused, thanks. |
| 07-08-2005, 11:02 PM | #4 |
Hows this? Code:
Set Victory Circumstances
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Player 1 (Red) slot status) Equal to Is playing
(Player 2 (Blue) slot status) Equal to Is playing
(Player 3 (Teal) slot status) Equal to Is playing
Then - Actions
Do nothing
Else - Actions
Set TeamActivity[1] = True
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Player 4 (Purple) slot status) Equal to Is playing
(Player 5 (Yellow) slot status) Equal to Is playing
(Player 6 (Orange) slot status) Equal to Is playing
Then - Actions
Do nothing
Else - Actions
Set TeamActivity[2] = TrueCode:
Victory Circumstances
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TeamActivity[1] Equal to True
Then - Actions
Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) (Show dialogs, Show scores)
Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TeamActivity[2] Equal to True
Then - Actions
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
Else - Actions |
| 07-08-2005, 11:29 PM | #5 |
Thanks tim. Makes a little more sense. I edited the triggers to be molded into one. Figuring out how your trigger worked, and putting it into the proper settings for my map. |
