say: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (class sound) |
||
Line 24: | Line 24: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|p2= [sound, maxTitlesDistance,speed]: [[Array]] | |p2= [sound, maxTitlesDistance,speed]: [[Array]] | ||
|p3= sound: [[String]] | |p3= sound: [[String]] classname. Defined in [[Description.ext]] | ||
|p4= maxTitlesDistance: [[Number]] | |p4= maxTitlesDistance: [[Number]] | ||
|p5= speed: [[Number]]. Optional | |p5= speed: [[Number]]. Optional |
Revision as of 10:47, 10 March 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:
- 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:
- 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