enableSimulationGlobal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.12 | |1.12 | ||
|arg= global | |arg= global | ||
|eff= global | |eff= global | ||
|serverExec= server |Exec= | |serverExec= server |Exec= | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| MP command. Enable or disable simulation for given entity, globally. Call this only from the server. Has the same effect as [[enableSimulation]] when used in SP. | | MP command. Enable or disable simulation for given entity, globally. Call this only from the server. Has the same effect as [[enableSimulation]] when used in SP. | ||
| entity [[enableSimulationGlobal]] enable | | entity [[enableSimulationGlobal]] enable | ||
|p1= entity: [[Object]] | |p1= entity: [[Object]] | ||
|p2= enable: [[Boolean]] | |p2= enable: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_myObject [[enableSimulationGlobal]] false;</code> | |x1= <code>_myObject [[enableSimulationGlobal]] false;</code> | ||
|x2= <code>[_object, [[false]]] [[remoteExec]] ["enableSimulationGlobal", 2];</code> | |x2= <code>[_object, [[false]]] [[remoteExec]] ["enableSimulationGlobal", 2];</code> | ||
| [[enableSimulation]], [[simulationEnabled]], [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]] | | [[enableSimulation]], [[simulationEnabled]], [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:37, 18 January 2021
Description
- Description:
- MP command. Enable or disable simulation for given entity, globally. Call this only from the server. Has the same effect as enableSimulation when used in SP.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- entity enableSimulationGlobal enable
- Parameters:
- entity: Object
- enable: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
_myObject enableSimulationGlobal false;
- Example 2:
[_object, false] remoteExec ["enableSimulationGlobal", 2];
Additional Information
- See also:
- enableSimulationsimulationEnabledenableDynamicSimulationSystemdynamicSimulationSystemEnabledenableDynamicSimulationdynamicSimulationEnabledsetDynamicSimulationDistancedynamicSimulationDistancesetDynamicSimulationDistanceCoefdynamicSimulationDistanceCoeftriggerDynamicSimulationcanTriggerDynamicSimulation
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
Notes
Bottom Section
- Posted on October 21, 2014 - 15:33 (UTC)
- Killzone Kid
-
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 _x} forEach allUnits;