Difference between revisions of "Lua:SmartTeamSound"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==SmartTeamSound== Plays one sound for a selected team, and another for the other team(s). ===Usage=== <pre>SmartTeamSound(team, teamsound, enemysound)</pre> ...) |
(No difference)
|
Latest revision as of 13:56, 11 May 2009
|
SmartTeamSoundPlays one sound for a selected team, and another for the other team(s). UsageSmartTeamSound(team, teamsound, enemysound) Input
Use an entry from one of the game_sounds files in Fortressforever\scripts\. All sounds used by lua should be precached. OutputReturns: Nothing ExampleSmartTeamSound(team, "yourteam.flagreturn", "otherteam.flagreturn") |