Jump to content

bendingbanana101

Member
  • Content Count

    7
  • Joined

  • Last visited

  • Medals

Everything posted by bendingbanana101

  1. Hi, I'm currently trying to create a trigger that will play sound for locally for one specific player who will enter it. This is being made for a multiplayer mission. My current trigger: []spawn { while {true} do { if (Y inArea t1) then { playSound "geiger"; uiSleep 1.6; }; }; }; The trigger activation is set to a custom condition. (Y inArea t1) My player is "Y", the trigger is "T1" and the sound which I'm looping is "geiger". Help.
  2. bendingbanana101

    Play sound for one person.

    Hi, I'm making this now for anyone in future looking for something similar. Here's my trigger: Condition: (SL inArea t1); On act: if (player == SL) then { []spawn { while {true} do { if (SL inArea t1) then { SL say3D "g"; uiSleep 2; }; }; }; }; Set the trigger to repeatable and the type/activation to none. What does this do? When the player "SL" enters the trigger radius, they will begin to hear the tick of the geiger counter, which only stops when they leave. Only they can hear this sound. The only flaw is that the uisleep must match up with the exact length of the sound effect, which is two seconds in this case, if not the sound will play even after the player exits the trigger. This is also (unsurprisingly) a drain on performance if you place too many of these triggers.
  3. bendingbanana101

    Play sound for one person.

    Seems to be working fine, thanks for the help guys.
  4. bendingbanana101

    Play sound for one person.

    For the reasoning, it's a recurring sound, it's a tick of a Geiger counter belonging to one of the players when they near a "radioactive" object. How do I change if it activates locally or globally?
  5. bendingbanana101

    Play sound for one person.

    The idea is that the trigger activates from the presence of Y, and the second line being executed in the "on activation" section, will continue to loop as long as Y is still present.
  6. bendingbanana101

    Play sound for one person.

    Thanks, it does seem to be working however I can't really test as I am doing this in singleplayer. This line is being executed in the "on activation" section of the trigger. It is set to repeatable and it is not server only.
  7. bendingbanana101

    Play sound for one person.

    Yes, when Y enters the trigger zone, the sound can be heard by other players.
×