say: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (VBS2 scripting category removal) |
||
Line 53: | Line 53: | ||
[[Category:Scripting Commands ArmA2|SAY]] | [[Category:Scripting Commands ArmA2|SAY]] | ||
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 05:17, 19 July 2011
Description
- Description:
- Unit will say given sound. When the Unit is a Person, it will also perform corresponding lipsync effect provided an appropriate .lip file has been created for this sound. A unit that has been killed or does not exist will not say anything. Compare this with playSound which will always play a sound at the location of the player. If the camera is not within given range, title is not shown and the sound will not be heard. Sound is defined in CfgSound of the Description.ext.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit say [sound, maxTitlesDistance,speed]
- Parameters:
- unit: Object
- [sound, maxTitlesDistance,speed]: Array
- sound: String classname. Defined in Description.ext
- maxTitlesDistance: Number
- speed: Number. Optional
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- say3Dsay2DplaySoundcreateSoundSource
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Command Group: Sounds