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.
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.
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:
Post has been edited 3 time(s), last time on Apr 10 2009, 4:17 am by NudeRaider. Reason: removed wrong information
None.
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.