canTriggerDynamicSimulation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Note about this command also returning true for vehicles)
 
(37 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


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


____________________________________________________________________________________________
|s1= [[canTriggerDynamicSimulation]] unit


| A getter for [[triggerDynamicSimulation]]|DESCRIPTION=
|p1= unit: [[Object]]
____________________________________________________________________________________________


| '''canTriggerDynamicSimulation''' unit |SYNTAX=
|r1= [[Boolean]]


|p1=  unit: [[Object]] |PARAMETER1=
|x1= <sqf>hint str canTriggerDynamicSimulation player;</sqf>


| [[Boolean]] |RETURNVALUE=
|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