Lights – Arma 3 Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Previous lights on randomization formula ==
== Previous lights on randomization formula ==


<code>[[private]] _isLightsOnTime = [0,0,0] [[getEnvSoundController]] "night" > _vehicle [[getSoundController]] "randomizer" * 0.6 + 0.2;</code>
<code>[[private]] _isTimeForLightsOn = [0,0,0] [[getEnvSoundController]] "night" > _vehicle [[getSoundController]] "randomizer" * 0.6 + 0.2;</code>

Revision as of 12:10, 6 March 2019

Previous lights on randomization formula

private _isTimeForLightsOn = [0,0,0] getEnvSoundController "night" > _vehicle getSoundController "randomizer" * 0.6 + 0.2;