createSoundSource: Difference between revisions
Jump to navigation
Jump to search
m (VBS2 scripting category removal) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 42: | Line 42: | ||
[[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Sounds|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:57, 2 November 2011
Description
- Description:
- Creates a sound source of the given type (type is the name of the subclass of CfgVehicles). If the markers array contains several marker names, the position of a random one is used, otherwise, the given position is used. The sound source is placed inside a circle with this position as its center and placement as its radius.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Object = createSoundSource [type, position, markers, placement]
- Parameters:
- [type, position, markers, placement]: Array
- type: String as per CfgVehicles
- position: Position
- markers: Array
- placement: Number. radius
- Return Value:
- Object
Examples
Additional Information
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