BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Supports |GROUP1= | |gr1 = Supports |GROUP1= | ||
| Limits support runs during a mission. |DESCRIPTION= | | Limits support runs during a mission. |DESCRIPTION= | ||
Line 21: | Line 19: | ||
_this select 2: NUMBER - Support run limit | _this select 2: NUMBER - Support run limit | ||
-1: Unlimited | -1: Unlimited | ||
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |SYNTAX= | | [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |SYNTAX= | ||
Line 37: | Line 34: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 23:29, 16 January 2021
Description
Syntax
- Syntax:
- [caller, supportType, quantity] call BIS_fnc_limitSupport
- Parameters:
- caller: Object - the unit able to request support
- supportType: String - can be one of:
- "Artillery"
- "Transport"
- "CAS_Heli"
- "CAS_Bombing"
- "Drop"
- quantity: Number - support run limit. -1 for unlimited support
- Return Value:
- Nothing
Examples
- Example 1:
[player, "Transport", -1] call BIS_fnc_limitSupport;
Additional Information
- See also:
- See also needed
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