Trigger help
May 16 2008, 9:56 pm
By: Cheathunta  

May 16 2008, 9:56 pm Cheathunta Post #1



How do i make it so that after a 15 min time limit runs out, One player wins and four other playr lose?



None.

May 16 2008, 10:09 pm DevliN Post #2

Woah

I don't have an editor open so I don't know the exact names, and I assume this is for your Spongebob map, so it should look like this:

PLAYERS
Player X (Gary)

CONDITIONS
Elapsed game time is at least 900 seconds.
Player X controls exactly 1 Zergling.

ACTIONS
Display text message: You win!
End scenario in victory for current player.


Or, you could do:
PLAYERS
Everyone but Player X (Gary)

CONDITIONS
Elapsed game time is at least 900 seconds.
Player X controls exactly 1 Zergling.

ACTIONS
Display text message: You have failed to find Gary.
End scenario in defeat for current player.


One or the other will work.



:devlin: Currently Working On: :devlin:
Myself

May 16 2008, 10:19 pm Wormer Post #3



Actually you dont need to run the Defeat action as when the Victory action runs SC automatically defeats all non allied victory players.



Some.

May 16 2008, 10:21 pm DevliN Post #4

Woah

That's why I said either one will work, and not both.



:devlin: Currently Working On: :devlin:
Myself

May 16 2008, 10:43 pm Wormer Post #5



I'm sorry. But will the player be automatically Victorious when all non allied victory players are defeated?



Some.

May 16 2008, 10:56 pm DevliN Post #6

Woah

Based on his thread about the map, its supposed to be like Team 1 has to find Player X before the time runs out. If they kill him in that time, they win. If he survives by that 15 minute mark, he wins.



:devlin: Currently Working On: :devlin:
Myself

May 17 2008, 12:13 am Cheathunta Post #7



Quote from DevliN
I don't have an editor open so I don't know the exact names, and I assume this is for your Spongebob map, so it should look like this:

PLAYERS
Player X (Gary)

CONDITIONS
Elapsed game time is at least 900 seconds.
Player X controls exactly 1 Zergling.

ACTIONS
Display text message: You win!
End scenario in victory for current player.


Or, you could do:
PLAYERS
Everyone but Player X (Gary)

CONDITIONS
Elapsed game time is at least 900 seconds.
Player X controls exactly 1 Zergling.

ACTIONS
Display text message: You have failed to find Gary.
End scenario in defeat for current player.


One or the other will work.


Isnt it better to do both at once?



None.

May 17 2008, 12:38 am DevliN Post #8

Woah

Yes, but you only need one of them to have "Victory" or "Defeat" triggers. If everyone else is defeated, the Player X wins without the trigger. And if Player X wins, everyone else gets defeat without a trigger making it happen. So really only one of those 2 triggers needs it.



:devlin: Currently Working On: :devlin:
Myself

May 17 2008, 7:03 am Wormer Post #9



Quote
If everyone else is defeated, the Player X wins without the trigger.
This cant be true.

Attachments:
DefeatTest.scx
Hits: 0 Size: 38.42kb



Some.

May 17 2008, 8:21 am DevliN Post #10

Woah

Oh right, my mistake. So you only need the victory trigger. I always thought that if everyone else was defeated, then the only one left gets victory... but that doesn't make sense, now that I think about it.

Thanks for pointing that out. :)



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: Zycorax