soundParams: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.14 |branch= dev |gr1= Sounds |descr= Returns various params for the given sound |s1= soundParams id |p1= id: Number -...") |
Lou Montana (talk | contribs) m (Text replacement - "" to "") |
||
Line 22: | Line 22: | ||
|x1= <sqf>_params = soundParams 10;</sqf> | |x1= <sqf>_params = soundParams 10;</sqf> | ||
|seealso= | |seealso= [[playSoundUI]] [[playSound3D]] [[stopSound]] | ||
}} | }} |
Revision as of 11:54, 26 April 2023
Description
- Description:
- Returns various params for the given sound
- Groups:
- Sounds
Syntax
- Syntax:
- soundParams id
- Parameters:
- id: Number - id returned by playSoundUI and playSound3D commands
- Return Value:
- Array in format [path, curPos, length, time, volume], where:
Examples
- Example 1:
Additional Information
- See also:
- playSoundUI playSound3D stopSound
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