getSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> +" to "<code>")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
Line 10: Line 10:
{{Feature | important | The unit must not be [[objNull]], must be [[local]] and [[alive]]}}
{{Feature | important | The unit must not be [[objNull]], must be [[local]] and [[alive]]}}


| '''getSuppression''' unit
|s1=  '''getSuppression''' unit


|p1= unit: [[Object]]
|p1= unit: [[Object]]

Revision as of 00:05, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
getSuppression unit
Parameters:
unit: Object
Return Value:
Number - from 0 to 1, or -1 if suppression is not available.

Examples

Example 1:
getSuppression AI_unit_1;

Additional Information

See also:
setSuppressionsuppressFordisableAIenableAI

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