simulationEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 | |||
| | |gr1= Object Manipulation | ||
| | |descr= Check if the entity has enabled simulation. | ||
| | {{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.}} | |||
| | |s1= [[simulationEnabled]] entity | ||
| [[ | |p1= entity: [[Object]] | ||
|r1= [[Boolean]] | |||
|x1= < | |x1= <sqf>simulationEnabled player;</sqf> | ||
|seealso= [[enableSimulation]] [[enableSimulationGlobal]] [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]] | |||
| [[enableSimulation]] | |||
}} | }} | ||
Latest revision as of 14:10, 5 May 2022
Description
- Description:
- Check if the entity has enabled simulation.
- 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