setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|s1= class [[setDynamicSimulationDistanceCoef]] multiplier
|s1= class [[setDynamicSimulationDistanceCoef]] multiplier


|p1= class: [[String]] - Multiplier class, currently only:
|p1= class: [[String]] - multiplier class, currently only:
* {{hl|"IsMoving"}} - Multiplies the entity activation distance by set value if the entity is moving. Default: 2
* {{hl|"IsMoving"}} - Multiplies the entity activation distance by set value if the entity is moving. Default: 2
|p2= multiplier: [[Number]] - Distance multiplier
|p2= multiplier: [[Number]] - distance multiplier


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>
|x1= <sqf>"IsMoving" setDynamicSimulationDistanceCoef 3;</sqf>


|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]]
}}
}}

Latest revision as of 15:39, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets activation distance multiplier of Arma 3: Dynamic Simulation for the given class
Groups:
Dynamic Simulation

Syntax

Syntax:
class setDynamicSimulationDistanceCoef multiplier
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:
Nothing

Examples

Example 1:
"IsMoving" setDynamicSimulationDistanceCoef 3;

Additional Information

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