Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: "all players" trigger
"all players" trigger
This topic is locked. You can no longer write replies here.
Apr 10 2009, 2:35 am
By: jkavorski  

Apr 10 2009, 2:35 am jkavorski Post #1



my trigger looks like this

players: all players
conditions: 'switch' is set
actions: create 60 zerglings at spawn for player 8
create 5 hydras at spawn for player 8

i want the amount of units to spawn to be based on the number of players in the game, so that way 3 players will have just as good of a chance at winnning as 6 players do. shouldnt the fact that its firing for "all players" (8) make there really be 480 zerglings and 40 hydras? right now only 60 and 5 are being created



None.

Apr 10 2009, 3:29 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I assume that's because the trigger is not firing. Can you confirm that?
If it isn't firing, then it's because the condition is not true.
Since the only condition is 'switch' is set, this switch must be cleared after the trigger fired for the first player.
Do you have an action clearing the switch after creating the lings and hydras which you forgot to post?
Or is it another trigger? Whichever way make sure this action is ONLY running for P8. For example give the trigger to P1-8 instead of All Players and remove the clear switch for P1-7 and only let P8 run it. That of course assumes that P8 is either a comp or a human that is always present.




Apr 10 2009, 3:59 am Pyro682 Post #3



If you're still confused as to what is going on, here is a live sample for you to pick at. 4 Hydralisks should spawn, because there are 4 players in the game. Tinker around with how many computers there are in the game, and you will see the population of spawned hydralisks fluctuate.

Attachments:
spawn test.scx
Hits: 2 Size: 54.91kb

Post has been edited 3 time(s), last time on Apr 10 2009, 4:17 am by NudeRaider. Reason: removed wrong information



None.

Apr 10 2009, 7:45 pm jkavorski Post #4



ahhh i see... nuderaider was right. one of the conditions also has to do with the timer, but there is an action that is resetting the timer. dumb mistake :( lol

(i made this same mistake on an earlier map i was tryin to make earlier and i never did figure it out...)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[08:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: Roy, jun3hong