say: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unitName '''say''' [sound, maxTitlesDistance,speed] |= Syntax | ||
|p1= sound: [[String]] | |p1= unitName: [[Object]] |= Parameter 1 | ||
| | |p2= [sound, maxTitlesDistance,speed]: [[Array]] |= Parameter 2 | ||
| | |p3= sound: [[String]] |= Parameter 3 | ||
|p4= maxTitlesDistance: [[Number]] |= Parameter 4 | |||
|p5= speed: [[Number]]. Optional |= Parameter 5 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 16:28, 25 January 2009
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:
- unitName say [sound, maxTitlesDistance,speed]
- Parameters:
- unitName: Object
- [sound, maxTitlesDistance,speed]: Array
- sound: String
- maxTitlesDistance: Number
- speed: Number. Optional
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- See also needed
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