Lua:SmartSound
From Fortress Forever Wiki
Jump to navigationJump to search
SmartSoundPlays one sound for a specified player, another for that player's teammates, and another for the other team(s). UsageSmartSound(player, playersound, teamsound, otherteamsound) Input
Use an entry from one of the game_sounds files in Fortressforever\scripts\. All sounds used by lua should be precached. OutputReturns: nothing. ExampleSmartSound(player, "yourteam.flagstolen", "yourteam.flagstolen", "otherteam.flagstolen") |