From Bohemia Interactive Community
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description
⚠
Only available in
Development branch(es) until its release with Arma 3 patch
v2.22.
Description
- Description:
- Sets target size (see irTargetSize and others from vehicle config) override on vehicle.
Returns the previously active values. Note if the array is empty, it will only return the previous/current values, and not set new ones. So this also functions as a getter.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle setTargetSize [(visualTargetSize, irTargetSize, radarTargetSize)]
- Parameters:
- vehicle: Object - A transport vehicle
- visualTargetSize: Number - -1 to disable override and use config values. Otherwise value between 0-2
- irTargetSize: Number
- radarTargetSize: Number
- Return Value:
- [visualTargetSize, irTargetSize, radarTargetSize] Array - the values before setting new sizes
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here!
Add Note