triggerDynamicSimulation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(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


____________________________________________________________________________________________
|descr= Controls the ability of given unit to activate entities with disabled [[Arma 3: Dynamic Simulation]]. If [[false]] dynamically disabled entities will not be activated by this unit's presence. This command has the same effect as the [[:Category:Eden Editor|Eden Editor]] attribute ''Wake-Up Dynamic Simulation''.


| Controls ability of given unit to activate entities with disabled [[Arma_3_Dynamic_Simulation]]. If [[false]] dynamically disabled entities will not be activated by unit presence|DESCRIPTION=
|s1= unit [[triggerDynamicSimulation]] trigger
____________________________________________________________________________________________


| unit '''triggerDynamicSimulation''' trigger |SYNTAX=
|p1= unit: [[Object]]
|p2= trigger: [[Boolean]]


|p1= unit: [[Object]] |PARAMETER1=
|r1= [[Nothing]]
|p2=  trigger: [[Boolean]] |PARAMETER2=


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>player triggerDynamicSimulation false;</sqf>


 
|seealso= [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]] [[canTriggerDynamicSimulation]] [[enableSimulation]] [[simulationEnabled]] [[enableSimulationGlobal]] [[Arma 3: Dynamic Simulation]]
|x1= <code>[[player]] [[triggerDynamicSimulation]] [[false]];</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[setDynamicSimulationDistanceCoef]], [[dynamicSimulationDistanceCoef]], [[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:27, 9 July 2023

Hover & click on the images for description

Description

Description:
Controls the ability of given unit to activate entities with disabled Arma 3: Dynamic Simulation. If false dynamically disabled entities will not be activated by this unit's presence. This command has the same effect as the Eden Editor attribute Wake-Up Dynamic Simulation.
Groups:
Dynamic Simulation

Syntax

Syntax:
unit triggerDynamicSimulation trigger
Parameters:
unit: Object
trigger: Boolean
Return Value:
Nothing

Examples

Example 1:
player triggerDynamicSimulation false;

Additional Information

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