simulationEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00
 
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|arg= global
|arg= global
|1.00


|gr1= Object Manipulation
|gr1= Object Manipulation


| Check if the entity has enabled simulation.  
|descr= Check if the entity has enabled simulation.  


<br><br>{{Feature | important | The entity could be [[local]] or remote but the result returned by this command will be for the entity simulation set up locally on the client that executed the command. See [[enableSimulation]] for more info.}}
{{Feature | important | The entity could be [[Multiplayer Scripting#Locality|local]] or remote but the result returned by this command will be for the entity simulation set up locally on the client that executed the command.
See [[enableSimulation]] for more info.}}


| '''simulationEnabled''' entity
|s1= [[simulationEnabled]] entity


|p1= entity: [[Object]]
|p1= entity: [[Object]]


| [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[simulationEnabled]] [[player]];</code>
|x1= <sqf>simulationEnabled player;</sqf>


|seealso= [[enableSimulation]], [[enableSimulationGlobal]], [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]]
|seealso= [[enableSimulation]] [[enableSimulationGlobal]] [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 14:10, 5 May 2022

Hover & click on the images for description

Description

Description:
Check if the entity has enabled simulation.
The entity could be local or remote but the result returned by this command will be for the entity simulation set up locally on the client that executed the command. See enableSimulation for more info.
Groups:
Object Manipulation

Syntax

Syntax:
simulationEnabled entity
Parameters:
entity: Object
Return Value:
Boolean

Examples

Example 1:
simulationEnabled player;

Additional Information

See also:
enableSimulation enableSimulationGlobal enableDynamicSimulationSystem dynamicSimulationSystemEnabled enableDynamicSimulation dynamicSimulationEnabled setDynamicSimulationDistance dynamicSimulationDistance setDynamicSimulationDistanceCoef dynamicSimulationDistanceCoef triggerDynamicSimulation canTriggerDynamicSimulation

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