enableSimulationGlobal: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.12|= Game version _________________...") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(64 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.12 | |||
| | |arg= global | ||
| | |eff= global | ||
| | |serverExec= server | ||
| | |gr1= Object Manipulation | ||
| [[ | |descr= Enable or disable simulation for given entity, globally. Has the same effect as [[enableSimulation]] when used in singleplayer. | ||
|mp= {{Feature|informative|Since {{GVI|arma3|2.06}} the command can also be executed client-side, with a [[Multiplayer_Scripting#Locality|local]] argument.}} | |||
| | |s1= entity [[enableSimulationGlobal]] enable | ||
|p1= entity: [[Object]] | |||
| [[ | |p2= enable: [[Boolean]] | ||
| | |r1= [[Nothing]] | ||
|x1= <sqf>_myObject enableSimulationGlobal false;</sqf> | |||
< | |x2= <sqf>[_object, false] remoteExec ["enableSimulationGlobal", 2];</sqf> | ||
|seealso= [[enableSimulation]] [[simulationEnabled]] [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]] | |||
}} | |||
< | {{Note | ||
[[ | |user= Killzone_Kid | ||
[[ | |timestamp= 20141021153300 | ||
[[ | |text= Units that have been previously subjected to <sqf inline>enableSimulation false</sqf> or <sqf inline>enableSimulationGlobal false</sqf> 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: | ||
<sqf>player reveal previouslySimDisabledUnit;</sqf> | |||
}} |
Latest revision as of 17:01, 25 July 2022
Description
- Description:
- Enable or disable simulation for given entity, globally. Has the same effect as enableSimulation when used in singleplayer.
- Multiplayer:
- Groups:
- Object Manipulation
Syntax
- Syntax:
- entity enableSimulationGlobal enable
- Parameters:
- entity: Object
- enable: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- enableSimulation simulationEnabled 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
- Posted on Oct 21, 2014 - 15:33 (UTC)
- 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: