Home Scripting Commands Object Manipulation enableSimulationGlobal enableSimulationGlobal
Global argument Global effect Server only Arma 3 v1.12
Command · Markdown · JSON · original wiki page
Description
Enable or disable simulation for given entity, globally. Has the same effect as enableSimulation when used in singleplayer.
Syntax
entity enableSimulationGlobal enable
Parameters:
Returns: Nothing
Examples
Example 1
_myObject enableSimulationGlobal false ;
Example 2
[_object , false ] remoteExec ["enableSimulationGlobal" , 2 ];
Multiplayer
Note
Since Arma 3 v2.06 the command can also be executed client-side, with a local argument.
See also
enableSimulation · simulationEnabled · enableDynamicSimulationSystem · dynamicSimulationSystemEnabled · enableDynamicSimulation · dynamicSimulationEnabled · setDynamicSimulationDistance · dynamicSimulationDistance · setDynamicSimulationDistanceCoef · dynamicSimulationDistanceCoef · triggerDynamicSimulation · canTriggerDynamicSimulation
Units that have been previously subjected to enableSimulation false or enableSimulationGlobal false may stay unrecognised for a long time even after simulation was re-enabled, returning objNull as cursorTarget . Force revealing units with reveal command usually solves the problem. For example:
player reveal previouslySimDisabledUnit;