Play sound to only one player

vilaemail

New Member
Reaction score
1
I googled, and i googled, and then again i googled hopelessly. :nuts:

So I must post a question. How to play a sound to only one player? Is it possible with worldedit or I need to use JASS. Examples are appreciated.
Thanks, in advance.

Sincerely,
Filip.
 

Skippy

Active Member
Reaction score
39
I think you need a little of Jass, just one function.

Trigger:
  • Actions:
    • Custom script: set udg_LocalPlayer = GetLocalPlayer()
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Your_Player Equal to LocalPlayer
      • Then - Actions
        • Sound - Play Your_Sound
      • Else - Actions

This will play Your_Sound to Your_Player only.
 

vilaemail

New Member
Reaction score
1
I think, I got it. I will test it tomorrow, it's too late for me to turn on another computer, and I am feeling kinda sleepy. Will post question tomorrow if it doesn't work. Thanks, anyway.
 
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