canTriggerDynamicSimulation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(Note about this command also returning true for vehicles)
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


|1.68|Game version=
|gr1= Dynamic Simulation


____________________________________________________________________________________________
|descr= A getter for [[triggerDynamicSimulation]]. {{Feature|important|This command returns always true for vehicles.}}


| A getter for [[triggerDynamicSimulation]]|DESCRIPTION=
|s1= [[canTriggerDynamicSimulation]] unit
____________________________________________________________________________________________


| '''canTriggerDynamicSimulation''' unit |SYNTAX=
|p1= unit: [[Object]]


|p1= unit: [[Object]] |PARAMETER1=
|r1= [[Boolean]]


| [[Boolean]] |RETURNVALUE=  
|x1= <sqf>hint str canTriggerDynamicSimulation player;</sqf>


 
|seealso= [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[enableSimulation]] [[simulationEnabled]] [[enableSimulationGlobal]] [[Arma 3: Dynamic Simulation]]
|x1= <code>[[hint]] [[str]] [[canTriggerDynamicSimulation]] [[player]];</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[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 15:10, 24 December 2023

Hover & click on the images for description

Description

Description:
A getter for triggerDynamicSimulation.
This command returns always true for vehicles.
Groups:
Dynamic Simulation

Syntax

Syntax:
canTriggerDynamicSimulation unit
Parameters:
unit: Object
Return Value:
Boolean

Examples

Example 1:
hint str canTriggerDynamicSimulation player;

Additional Information

See also:
enableDynamicSimulationSystem dynamicSimulationSystemEnabled enableDynamicSimulation dynamicSimulationEnabled setDynamicSimulationDistance dynamicSimulationDistance setDynamicSimulationDistanceCoef dynamicSimulationDistanceCoef triggerDynamicSimulation 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