playSound3D: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (locality added) |
||
Line 5: | Line 5: | ||
|0.50|= Game version | |0.50|= Game version | ||
|arg= global |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:36, 8 September 2013
Description
- Description:
- Plays a sound with given filename. At least 2 parameters must be added.
- Groups:
- Uncategorised
Syntax
- Syntax:
- playSound3D [filename, source, isInside, position, volume, frequency, distance]
- Parameters:
- [filename, source, isInside, position, volume, frequency, distance]: Array
- filename: String
- source: Object
- isInside: Boolean
- position: Position
- volume: Number
- frequency: Number
- distance: Number - How far is sound audible (0 = no max distance).
- Return Value:
- Nothing
Examples
- Example 1:
playSound3D ["A3\Sounds_F\sfx\blip1.wav", player]
- Example 2:
playSound3D ["A3\Sounds_F\sfx\blip1.wav", player, false, getPos player, 1, 1, 0]
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