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.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: parchedincident