Staredit Network

Staredit Network -> UMS Assistance -> Wav Files in All Players Trigger
Report, edit, etc...Posted by InfusedEMP on 2005-06-30 at 20:44:51
If you place a trigger that's for "All Players", but the trigger will only be fired for the player (current player) that bumps into the location that fires it, and there is a "Play Wav File" in the Actions, will the wav file play only for that player, or will it play for all the players in the scenario? I'd test this online but nobody believes I want to test something so simple, they all think I'm trying to crash theyre game or something.
Report, edit, etc...Posted by LethaL on 2005-06-30 at 20:53:33
I'm pretty sure it would play for all players each time somebody meets the conditions, but it would be a lot easier to make it for each individual player.
Report, edit, etc...Posted by InfusedEMP on 2005-06-30 at 20:57:47
The problem with making it for each seperate player is I'd have to make about 1000 triggers, instead of about 250 because I'd have to copy and modify the triggers actions and conditions for each of 4 players. Anybody know a way to get around that?
Report, edit, etc...Posted by LethaL on 2005-06-30 at 20:59:08
Why on earth would you need 250 triggers for playing a wav file?
Report, edit, etc...Posted by InfusedEMP on 2005-06-30 at 21:01:35
theres about 250 seperate locations on the map where the wav file could be triggered...I'm making an extremely strange map
Report, edit, etc...Posted by LethaL on 2005-06-30 at 21:08:24
instead of that, make a unit in place of the location and center a location on the unit that triggers it. That way you only need 1 trigger per person.

Ex: Instead of 250 locations randomly placed on the map, have 250 burrowed zerglings. Then use this trigger:

Trigger
Players:
¤ Human Player
Conditions:
¤ Computer Player brings at least 1 Zerg Zergling to 'Centered'
¤ Current Player brings at least 1 Terran Marine to 'Centered'
Actions:
¤ Play Wav '1.wav'
¤ Preserve Trigger


Location Centered is the location that you center on your unit, which is 'Terran Marine' (You can also change the unit for this).
Report, edit, etc...Posted by InfusedEMP on 2005-06-30 at 21:13:00
That's a damn good idea, thanks. It should save me a lot of trouble
Report, edit, etc...Posted by LethaL on 2005-06-30 at 21:15:36
biggrin.gif Just make sure you center the location right. If you have 2 different units you want to use (at different times, of course) give each unit a switch/death counter, and center the location accordingly.
Next Page (1)