Jump to content

Jay_On_Arma

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Jay_On_Arma

  • Rank
    Rookie
  1. Thanks for the help.

  2. Jay_On_Arma

    Looping say3D in multiplayer

    Thank you for helping, it worked after I just defined the variable in the init of the ship instead of the init.sqf.
  3. Jay_On_Arma

    Looping say3D in multiplayer

    Thank you for the response, unfortunately it hasn't worked. I'm running the code straight from the init of the ship so I'm not sure of the scope. [] spawn { while {alarmToggle == 1} do { [ship1,["shipAlarm", 500, 1]] remoteExec ["say3d", 0, false]; sleep 8; }; };
  4. Hello, I'm struggling to figure out how to get a sound to play and loop in multiplayer. After managing to get it to start working in singleplayer I now find myself once again stuck. I've looked around a lot and know I have to use remoteExec but I don't know how to get it to work with a loop. My goal is to just simply have a ship alarm going off on an object (the ship) that players can hear when they get close enough. Any help is very much appreciated! [] spawn { while {alarmToggle == 1} do { ship1 say3d ["shipAlarm", 500, 1]; sleep 8; }; }: (The alarmToggle is just for a switch to turn it off and ship1 is the ship of course)
×