{"name":"enableSimulationGlobal","operator":null,"title":"enableSimulationGlobal","type":"command","url":"https://community.bistudio.com/wiki/enableSimulationGlobal","revid":329206,"updated":"2022-07-25T16:01:42Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.12"}],"since":{"game":"arma3","name":"Arma 3","version":"1.12"},"arma3_since":"1.12","branch":null,"locality":{"argument":"global","effect":"global","server_exec":true},"exec":null,"description":"Enable or disable simulation for given entity, globally. Has the same effect as enableSimulation when used in singleplayer.","syntaxes":[{"syntax":"entity enableSimulationGlobal enable","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"entity: Object"},{"name":"enable","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"enable: Boolean"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"entity","types":["Object"]},"right":{"text":"enable","types":["Boolean"]}}],"examples":[{"text":"```sqf\n_myObject enableSimulationGlobal false;\n```","code":["_myObject enableSimulationGlobal false;"]},{"text":"```sqf\n[_object, false] remoteExec [\"enableSimulationGlobal\", 2];\n```","code":["[_object, false] remoteExec [\"enableSimulationGlobal\", 2];"]}],"multiplayer":"> [!NOTE]\n> Since Arma 3 v2.06 the command can also be executed client-side, with a local argument.","problems":null,"aliases":[],"see_also":["enableSimulation","simulationEnabled","enableDynamicSimulationSystem","dynamicSimulationSystemEnabled","enableDynamicSimulation","dynamicSimulationEnabled","setDynamicSimulationDistance","dynamicSimulationDistance","setDynamicSimulationDistanceCoef","dynamicSimulationDistanceCoef","triggerDynamicSimulation","canTriggerDynamicSimulation"],"notes":[{"user":"Killzone_Kid","date":"2014-10-21T15:33:00Z","text":"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:\n\n```sqf\nplayer reveal previouslySimDisabledUnit;\n```"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 1.12","Scripting Commands","Scripting Commands: Global Effect","Scripting Commands: Server Execution"]}