setDynamicSimulationDistanceCoef: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2") |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.68 | |||
| | |gr1= Dynamic Simulation | ||
| | |descr= Sets activation distance multiplier of [[Arma 3: Dynamic Simulation]] for the given class | ||
| | |s1= class [[setDynamicSimulationDistanceCoef]] multiplier | ||
| class | |p1= class: [[String]] - multiplier class, currently only: | ||
* {{hl|"IsMoving"}} - Multiplies the entity activation distance by set value if the entity is moving. Default: 2 | |||
|p2= multiplier: [[Number]] - distance multiplier | |||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>"IsMoving" setDynamicSimulationDistanceCoef 3;</sqf> | ||
|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
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