BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - "(\| )+\}\}" to "}}") |
||
Line 36: | Line 36: | ||
|x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> | |x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> | ||
}} | }} |
Revision as of 14:19, 18 January 2021
Description
- Description:
- Limits support runs during a mission. Parameter(s): _this select 0: OBJECT - Requester module _this select 1: STRING - Support type: "Artillery" "Transport" "CAS_Heli" "CAS_Bombing" "Drop" _this select 2: NUMBER - Support run limit -1: Unlimited
- Execution:
- call
- Groups:
- Supports
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