initAmbientLife: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(43 intermediate revisions by 8 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|INITAMBIENTLIFE]]
{{RV|type=command
[[Category:Scripting Commands ArmA|INITAMBIENTLIFE]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">''' initAmbientLife'''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


None
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|eff= local


[[Nothing]]
|gr1= Environment


'''Compatibility:'''
|descr= Initialises the ambient life on [[Multiplayer Scripting#Locality|local]] client from {{hl|CfgWorlds >> worldName >> AmbientA3}}. Has no effect on dedicated server or headless client.


Version 2.90 required.
|s1= '''initAmbientLife'''


'''Description:'''
|r1= [[Nothing]]


Initialize the ambient life.
|x1= <sqf>initAmbientLife;</sqf>
 
|seealso= [[enableEnvironment]] [[sideAmbientLife]]
}}

Latest revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Initialises the ambient life on local client from CfgWorlds >> worldName >> AmbientA3. Has no effect on dedicated server or headless client.
Groups:
Environment

Syntax

Syntax:
initAmbientLife
Return Value:
Nothing

Examples

Example 1:
initAmbientLife;

Additional Information

See also:
enableEnvironment sideAmbientLife

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