BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling - missing see also) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Limits support runs during a mission. |= Description | ||
Parameter(s): | Parameter(s): | ||
Line 23: | Line 20: | ||
_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 | |||
|p1= caller: [[Object]] - the unit able to request support |= Parameter 1 | |||
| | |p2= supportType: [[String]] - can be one of: | ||
* "Artillery" | |||
* "Transport" | |||
* "CAS_Heli" | |||
* "CAS_Bombing" | |||
* "Drop" |= Parameter 2 | |||
| | |p3= quantity: [[Number]] - support run limit. -1 for unlimited support |= Parameter 3 | ||
| |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:09, 26 April 2018
Description
- Description:
- Limits support runs during a mission.
- Execution:
- call
- Groups:
- Uncategorised
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