environmentEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|gr1= Environment | |gr1= Environment | ||
|gr2= Sounds | |||
|descr= Returns status of [[enableEnvironment]] command | |descr= Returns status of [[enableEnvironment]] command | ||
Line 10: | Line 12: | ||
|s1= [[environmentEnabled]] | |s1= [[environmentEnabled]] | ||
|r1= [[Array]] in format [ambientLife, ambientSound] where: | |r1= [[Array]] in format [ambientLife, ambientSound, windyCoef] where: | ||
* ambientLife: [[Boolean]] | * ambientLife: [[Boolean]] | ||
* ambientSound: [[Boolean]] | * ambientSound: [[Boolean]] | ||
* {{GVI|arma3|2.12|size= 0.75}} windyCoef: [[Number]] - see [[enableEnvironment]] | |||
|x1= < | |x1= <sqf>private _enabled = environmentEnabled;</sqf> | ||
|seealso= [[enableEnvironment]] | |seealso= [[enableEnvironment]] [[fadeEnvironment]] [[environmentVolume]] [[initAmbientLife]] [[sideAmbientLife]] [[getAllEnvSoundControllers]] [[getEnvSoundController]] [[setSoundEffect]] | ||
}} | }} |
Latest revision as of 15:32, 17 April 2023
Description
- Description:
- Returns status of enableEnvironment command
- Groups:
- EnvironmentSounds
Syntax
- Syntax:
- environmentEnabled
- Return Value:
- Array in format [ambientLife, ambientSound, windyCoef] where:
- ambientLife: Boolean
- ambientSound: Boolean
- 2.12 windyCoef: Number - see enableEnvironment
Examples
- Example 1:
Additional Information
- See also:
- enableEnvironment fadeEnvironment environmentVolume initAmbientLife sideAmbientLife getAllEnvSoundControllers getEnvSoundController setSoundEffect
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