Search the Community
Showing results for tags 'playmusic'.
Found 1 result
-
Hi guys, I've been steadily producing terrible code and making it less terrible as I go. I'm still having problems recognizing locality of certain commands, and when/who needs to execute the specific code. Thanks for your help, as I continue to produce horrible scripts! What I'm trying to do 1) Players use an addaction to start an event (working) 2) Players are transported into a plane (working) a) the plane begins to get shot down (crash) (working) b) some radio chatter (text and sound), and music plays (only working for the player that triggered the action ("player1")) c) some explosion happens and an engine fire starts (working) d) the plane is forced downward (working kind of brute force though) 3) Players encounter another explosion at low altitude (working) a) players are knocked unconscious (only working for "player1") b) random clutter is spawned based on player count (working) c) players are stripped of random items and those items are placed in some boxes (half working only player1 loses items) 3) Players awaken to a crash site (working again only player1 was unconscious) a) music switch to shorter track (working only for player1) b) static engine noise plays from the wreck (working for playe1 only) I have also noticed that for "player1" the events progress linearly through the script, but for the other players that is not necessarily the case. I was poking around and it sounds to be scheduler related, but I'm not quite understanding how to work around that. Ideally all of the events in my script would happen synchronously and in the order they are shown in the script. Any help in pointing me where to go from here is much appreciated, script and description.ext to follow. description.ext Crash.sqf