setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
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:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.68


|1.68|Game version=
|gr1= Dynamic Simulation


|gr1= Dynamic Simulation |GROUP1=
|descr= 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|DESCRIPTION=
|s1= class [[setDynamicSimulationDistanceCoef]] multiplier
____________________________________________________________________________________________


| class '''setDynamicSimulationDistanceCoef''' multiplier |SYNTAX=
|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


|p1= class: [[String]] - Multiplier class, currently only:
|r1= [[Nothing]]
* <tt>"IsMoving"</tt> - Multiplies the entity activation distance by set value if the entity is moving. Default: 2 |PARAMETER1=
|p2=  multiplier: [[Number]] - Distance multiplier |PARAMETER2=


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


 
|seealso= [[enableDynamicSimulationSystem]] [[dynamicSimulationSystemEnabled]] [[enableDynamicSimulation]] [[dynamicSimulationEnabled]] [[setDynamicSimulationDistance]] [[dynamicSimulationDistance]] [[dynamicSimulationDistanceCoef]] [[triggerDynamicSimulation]] [[canTriggerDynamicSimulation]] [[enableSimulation]] [[simulationEnabled]] [[enableSimulationGlobal]] [[Arma 3: Dynamic Simulation]]
|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[enableDynamicSimulationSystem]], [[dynamicSimulationSystemEnabled]], [[enableDynamicSimulation]], [[dynamicSimulationEnabled]], [[setDynamicSimulationDistance]], [[dynamicSimulationDistance]], [[dynamicSimulationDistanceCoef]], [[triggerDynamicSimulation]], [[canTriggerDynamicSimulation]], [[enableSimulation]], [[simulationEnabled]], [[enableSimulationGlobal]], [[Arma_3_Dynamic_Simulation]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{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