enableDynamicSimulation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (No effect on mines)
 
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.68


|1.68|= Game version
|arg= global
|eff= local


____________________________________________________________________________________________
|gr1= Dynamic Simulation


| Enables or disables [[Arma_3_Dynamic_Simulation]] for given non AI object|= Description
|descr= Enables or disables [[Arma 3: Dynamic Simulation]] for given non AI object.
____________________________________________________________________________________________


| object '''enableDynamicSimulation''' enable |= Syntax
{{Feature|informative|This command has no effect on ''mines''!}}


|p1= object: [[Object]] or [[Group]] |= Parameter1
|s1= object [[enableDynamicSimulation]] enable
|p2=  enable: [[Boolean]] |= Parameter2


| [[Nothing]] |= RETURNVALUE
|p1= object: [[Object]] or [[Group]]
|p2= enable: [[Boolean]]


|r1= [[Nothing]]


|x1= <code>_myObject [[enableDynamicSimulation]] [[true]];</code>|= EXAMPLE1
|x1= <sqf>_myObject enableDynamicSimulation true;</sqf>


____________________________________________________________________________________________
|seealso= [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]] [[enableSimulation]] [[simulationEnabled]] [[enableSimulationGlobal]] [[Arma 3: Dynamic Simulation]]
 
| [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]], [[enableSimulation]], [[simulationEnabled]], [[enableSimulationGlobal]], [[Arma_3_Dynamic_Simulation]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Latest revision as of 13:47, 27 December 2023

Hover & click on the images for description

Description

Description:
Enables or disables Arma 3: Dynamic Simulation for given non AI object.
This command has no effect on mines!
Groups:
Dynamic Simulation

Syntax

Syntax:
object enableDynamicSimulation enable
Parameters:
object: Object or Group
enable: Boolean
Return Value:
Nothing

Examples

Example 1:
_myObject enableDynamicSimulation true;

Additional Information

See also:
enableDynamicSimulationSystem dynamicSimulationSystemEnabled dynamicSimulationEnabled setDynamicSimulationDistance dynamicSimulationDistance setDynamicSimulationDistanceCoef dynamicSimulationDistanceCoef triggerDynamicSimulation canTriggerDynamicSimulation enableSimulation simulationEnabled enableSimulationGlobal Arma 3: Dynamic Simulation

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