getSuppression: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "<code> +" to "<code>")
Line 16: Line 16:
|r1=[[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;
</code>
</code>


|seealso= [[setSuppression]], [[suppressFor]], [[disableAI]], [[enableAI]]
|seealso= [[setSuppression]], [[suppressFor]], [[disableAI]], [[enableAI]]
}}
}}

Revision as of 22:47, 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