Difference between revisions of "Lua:SmartSpeak"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==SmartSpeak== Plays one vox sentence for a specified player, another for that player's teammates, and another for the other team(s). ===Usage=== <pre>SmartSpeak...) |
m (2.4 update) |
||
Line 1: | Line 1: | ||
{{Infobox manual/Header}} | {{Infobox manual/Header}} | ||
==SmartSpeak== | ==SmartSpeak== | ||
− | Plays one vox sentence for a specified player, another for that player's teammates, and another for the other team(s). | + | Plays one vox sentence for a specified player, another for that player's teammates, and another for the other team(s). This command is out-of-date. For default, randmized [[CTF]] announcements, use [[Lua:RandomFlagTouchSpeak]] instead. |
===Usage=== | ===Usage=== |
Revision as of 23:49, 15 February 2010
SmartSpeakPlays one vox sentence for a specified player, another for that player's teammates, and another for the other team(s). This command is out-of-date. For default, randmized CTF announcements, use Lua:RandomFlagTouchSpeak instead. UsageSmartSpeak(player, "CTF_YOUGOTFLAG", "CTF_GOTFLAG", "CTF_LOSTFLAG") Input
Use entries from FortressForever\scripts\sentences.txt. OutputReturns: nothing ExampleSmartSpeak(player, "CTF_YOUGOTFLAG", "CTF_GOTFLAG", "CTF_LOSTFLAG") --"you have the enemy flag"/"Your team has the enemy flag"/"The enemy has your flag" |