specific player unit event sounds

Jooster

New Member
Reaction score
7
what's the best way to make certain sounds play for only the people with units entering into certain regions?
 

Azlier

Old World Ghost
Reaction score
461
Something like this? Note: Untested. Unknown if it could cause desyncs.

Trigger:
  • LOL WUT
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
    • Actions
      • Custom script: if GetLocalPlayer() == GetOwningPlayer(GetTriggerUnit()) then
      • Custom script: call StartSound(udg_MySoundVar)
      • Custom script: endif
 

Azlier

Old World Ghost
Reaction score
461
Hmm... It probably will cause a desync because it sets the variable Last Played Sound... Not very helpful.

I'd guess the sound playing native would be best to use. Check my original post... I think that's right...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top