getSensorThreats: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix parameters, add example) |
Lou Montana (talk | contribs) m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ") |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.06 | |version1= 2.06 | ||
|arg= local | |arg= local |
Revision as of 18:27, 5 October 2021
Description
- Description:
- Returns vehicle sensors' threats.
- Groups:
- Sensors
Syntax
- Syntax:
- getSensorThreats vehicle
- Parameters:
- vehicle: Object - the sensors-equipped vehicle
- Return Value:
- Array of Arrays - format [[object, type, sensor], ...]:
Examples
- Example 1:
private _dangers = getSensorThreats vehicle player; /* returns e.g [ [164230: titan_missile_atl_fly.p3d, "missile", "visual"], [164233: titan_missile_atl_fly.p3d, "threatmissile", "radar"] ] */
Additional Information
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