setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
Line 12: Line 12:
|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]]

Revision as of 14:01, 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