setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
Line 7: Line 7:
|gr1= Dynamic Simulation
|gr1= Dynamic Simulation


| Sets activation distance multiplier of [[Arma_3_Dynamic_Simulation]] for the given class
| Sets activation distance multiplier of [[Arma 3: Dynamic Simulation]] for the given class


| class '''setDynamicSimulationDistanceCoef''' multiplier
| class '''setDynamicSimulationDistanceCoef''' multiplier
Line 19: Line 19:
|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>
|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>


|seealso= [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]], [[enableSimulation]], [[simulationEnabled]], [[enableSimulationGlobal]], [[Arma_3_Dynamic_Simulation]]
|seealso= [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]], [[enableSimulation]], [[simulationEnabled]], [[enableSimulationGlobal]], [[Arma 3: Dynamic Simulation]]
}}
}}

Revision as of 18:11, 21 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Dynamic Simulation

Syntax

Syntax:
Syntax needed
Parameters:
class: String - Multiplier class, currently only:
  • "IsMoving" - Multiplies the entity activation distance by set value if the entity is moving. Default: 2
multiplier: Number - Distance multiplier
Return Value:
Return value needed

Examples

Example 1:
"IsMoving" setDynamicSimulationDistanceCoef 3;

Additional Information

See also:
enableDynamicSimulationSystemdynamicSimulationSystemEnabledenableDynamicSimulationdynamicSimulationEnabledsetDynamicSimulationDistancedynamicSimulationDistancedynamicSimulationDistanceCoeftriggerDynamicSimulationcanTriggerDynamicSimulationenableSimulationsimulationEnabledenableSimulationGlobalArma 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