setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.68
|1.68


|gr1= Dynamic Simulation
|gr1= Dynamic Simulation


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


| class '''setDynamicSimulationDistanceCoef''' multiplier
|s1= class [[setDynamicSimulationDistanceCoef]] multiplier


|p1= class: [[String]] - Multiplier class, currently only:
|p1= class: [[String]] - multiplier class, currently only:
* <tt>"IsMoving"</tt> - 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


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


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


| [[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]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<!-- DISCONTINUE Notes -->

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