getSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "v1\.91\.[0-9]{6}" to "v1.92")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 14: Line 14:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


| [[Number]] - from 0 to 1, or -1 if suppression is not available.
|r1=[[Number]] - from 0 to 1, or -1 if suppression is not available.


|x1= <code> [[getSuppression]] AI_unit_1;
|x1= <code> [[getSuppression]] AI_unit_1;

Revision as of 21:46, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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