setDynamicSimulationDistanceCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Dynamic Simulation |GROUP1=
|gr1= Dynamic Simulation |GROUP1=
____________________________________________________________________________________________


| Sets activation distance multiplier of [[Arma_3_Dynamic_Simulation]] for the given class|DESCRIPTION=
| Sets activation distance multiplier of [[Arma_3_Dynamic_Simulation]] for the given class|DESCRIPTION=
____________________________________________________________________________________________


| class '''setDynamicSimulationDistanceCoef''' multiplier |SYNTAX=
| class '''setDynamicSimulationDistanceCoef''' multiplier |SYNTAX=
Line 23: Line 20:
|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>|EXAMPLE1=  
|x1= <code>"IsMoving" [[setDynamicSimulationDistanceCoef]] 3;</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[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]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:49, 17 January 2021

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:
enableDynamicSimulationSystemdynamicSimulationSystemEnabledenableDynamicSimulationdynamicSimulationEnabledsetDynamicSimulationDistancedynamicSimulationDistancedynamicSimulationDistanceCoeftriggerDynamicSimulationcanTriggerDynamicSimulationenableSimulationsimulationEnabledenableSimulationGlobalArma_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

Notes

Bottom Section