setSuppression: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (locality) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
| unit '''setSuppression''' value |= Syntax | | unit '''setSuppression''' value |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= value: [[Number]] - suppression value from 0 to 1 |= | |p2= value: [[Number]] - suppression value from 0 to 1 |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code> AI_unit_1 [[setSuppression]] 1; | |x1= <code> AI_unit_1 [[setSuppression]] 1; | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getSuppression]], [[suppressFor]] |= | | [[getSuppression]], [[suppressFor]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
Description
- Description:
- Sets the given suppression value for the given unit. The value range is from 0 to 1.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit setSuppression value
- Parameters:
- unit: Object
- value: Number - suppression value from 0 to 1
- Return Value:
- Nothing
Examples
- Example 1:
AI_unit_1 setSuppression 1;
Additional Information
- See also:
- getSuppressionsuppressFor
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