Hello. I want to play a sound when a player repicks his hero. So, a players types "-repick" and a sound is played.
Somebody said to do this, but I dont understand how to put in which sound I want and how to put in a "Triggering Player"
Somebody said to do this, but I dont understand how to put in which sound I want and how to put in a "Triggering Player"
- Custom script: call PlaySoundForPlayer( gg_snd_YourSound, udg_snd_YourPlayer )
- Custom script: call PlaySoundForPlayer( gg_snd_Repick, udg_snd_(TriggeringPlayer) )