Sounds

Thoric

New Member
Reaction score
0
i am trying to make a trigger that plays a sound at a certain event, but only for a certain player group. does any one know how to make this trigger?
 

Jayykob

New Member
Reaction score
1
Go to sound editor and select the sound you want to use, then right click and select add to sound(s).

The trigger is pretty simple i think, i'll make one when i come home, like this:

(Thing happen)

(condition(s))

Action
pick every player in (playergroup)
Play (sound u selected) for (picked playergroup)

Don't forget to add the players for the group
 

Romek

Super Moderator
Reaction score
963
Trigger:
  • set Force = Some Force
    • set Sound = Some Sound
    • Custom Script: if IsPlayerInForce(GetLocalPlayer(), udg_Force) then
    • Custom Script: call StartSound(udg_Sound)
    • Custom Script: endif


Force being the player group you want to play the sound for.
Sound being the sound. Obviously.
 

Thoric

New Member
Reaction score
0
that looks like it will work, but i dont know, like, im confused at the sound part. how do i play that? do i need to add the sound to a music variable? and if so how?:confused:
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Go to the Sound Editor, select the sound you want, right click on it and "Use this sound". Afterwards, getting to the Trigger Editor, by scrolling down to "Sound - Play Sound", upon selecting "Sound", you will see the variable sound you have chosen. Press it and all set.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top