• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

using local player to play sound for only two players

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
Hi i recently found out about local player, i want the sound to be played only for red and blue
upload_2020-9-3_20-59-34.png

i made it like this, i also heard local player can cause desync but is it fine? wont my trigger cause desync?
 
I believe you can use this:
  • Set SoundVariable = hurryup <gen>
  • Custom script: call StartSoundForPlayerBJ(Player(0),udg_SoundVariable)
  • Custom script: call StartSoundForPlayerBJ(Player(1),udg_SoundVariable)

what about setdaynight model? i mean this
upload_2020-9-3_21-14-24.png

then after some time again local player and
upload_2020-9-3_21-15-38.png

can it be used inside local player to create the night system for only two players?
 
Never messed with day/night stuff so I don't know. You could test it out.

And you would use exactly what I showed you instead of what you were doing. No local player needed.
I got such error any idea why? I made zapierdalaj= hurry up (my sound) but at other trigger
 

Attachments

  • unknown-58.png
    unknown-58.png
    62.7 KB · Views: 63
Status
Not open for further replies.
Back
Top