simulationEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{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 | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Check if the entity has enabled simulation. | |descr= Check if the entity has enabled simulation. | ||
{{Feature | important | The entity could be [[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.}} | {{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= | |s1= [[simulationEnabled]] entity | ||
|p1= entity: [[Object]] | |p1= entity: [[Object]] | ||
Line 18: | Line 28: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>simulationEnabled player;</sqf> | ||
|seealso= [[enableSimulation]] | |seealso= [[enableSimulation]] [[enableSimulationGlobal]] [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]] | ||
}} | }} | ||
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