say: Difference between revisions
Jump to navigation
Jump to search
m (Fixed params + example) |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Format of speechName is [sound, maxTitlesDistance]. Unit will say given sound. When unit is 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 camera is not within given range, title is not shown and the sound will not be heard. Sound is defined in [[Description.ext]]. |= Description | | Format of speechName is [sound, maxTitlesDistance]. | ||
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 [[Description.ext]]. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:02, 15 September 2006
Description
- Description:
- Format of speechName is [sound, maxTitlesDistance]. 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 Description.ext.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit say [speechname,distance]
- Parameters:
- unit: Object
- speechName: Array
- distance: Number
- 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