canTriggerDynamicSimulation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
(Note about this command also returning true for vehicles)
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.68
|1.68


|gr1= Dynamic Simulation
|gr1= Dynamic Simulation


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


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


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


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


| [[Boolean]]
|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>
 
 
| [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[enableSimulation]], [[simulationEnabled]], [[enableSimulationGlobal]], [[Arma_3_Dynamic_Simulation]]
 
|  |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>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[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