dynamicSimulationDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|s1= [[dynamicSimulationDistance]]  category
|s1= [[dynamicSimulationDistance]]  category


|p1= category: [[String]] - Can be:
|p1= category: [[String]] - can be:
* {{hl|"Group"}} - Infantry units and groups
* {{hl|"Group"}} - Infantry units and groups
* {{hl|"Vehicle"}} - Vehicles with crew
* {{hl|"Vehicle"}} - Vehicles with crew
Line 16: Line 16:
* {{hl|"Prop"}} - Static objects
* {{hl|"Prop"}} - Static objects


|r1= [[Number]] - Activation distance
|r1= [[Number]] - activation distance


|x1= <code>hint str [[dynamicSimulationDistance]] "Prop";</code>
|x1= <sqf>hint str dynamicSimulationDistance "Prop";</sqf>


|seealso= [[Arma 3: Dynamic Simulation]] [[setDynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]]  
|seealso= [[Arma 3: Dynamic Simulation]] [[setDynamicSimulationDistance]] [[setDynamicSimulationDistanceCoef]] [[dynamicSimulationDistanceCoef]]  
}}
}}

Latest revision as of 14:00, 8 November 2023

Hover & click on the images for description

Description

Description:
A getter for setDynamicSimulationDistance.
Groups:
Dynamic Simulation

Syntax

Syntax:
dynamicSimulationDistance category
Parameters:
category: String - can be:
  • "Group" - Infantry units and groups
  • "Vehicle" - Vehicles with crew
  • "EmptyVehicle" - All vehicles without crew
  • "Prop" - Static objects
Return Value:
Number - activation distance

Examples

Example 1:
hint str dynamicSimulationDistance "Prop";

Additional Information

See also:
Arma 3: Dynamic Simulation setDynamicSimulationDistance setDynamicSimulationDistanceCoef dynamicSimulationDistanceCoef

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