getSoundControllerResult

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.64
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.64

Description

Description:
Returns the calculated value of simple expression in config.

Syntax

Syntax:
obj getSoundControllerResult configEntry
Parameters:
obj: Object - not sure why it has to be here but it won't work otherwise.
configEntry: Config - path to configured value, see example. Works only for cfgVehicles.
Return Value:
Number

Examples

Example 1:
_result = (vehicle player) getSoundControllerResult (configFile >> "cfgVehicles" >> typeOf (vehicle player) >> "sounds" >> "idle_ext" >> "volume");

Additional Information

Multiplayer:
-
See also:
Arma 3 SoundgetSoundControllergetEnvSoundControllergetAllEnvSoundControllersgetAllSoundControllers

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To