BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Supports | |gr1 = Supports | ||
| Limits support runs during a mission. | | Limits support runs during a mission. | ||
Parameter(s): | Parameter(s): | ||
Line 20: | Line 20: | ||
-1: Unlimited | -1: Unlimited | ||
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] | | [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] | ||
|p1= caller: [[Object]] - the unit able to request support | |p1= caller: [[Object]] - the unit able to request support | ||
|p2= supportType: [[String]] - can be one of: | |p2= supportType: [[String]] - can be one of: | ||
Line 29: | Line 29: | ||
* "CAS_Heli" | * "CAS_Heli" | ||
* "CAS_Bombing" | * "CAS_Bombing" | ||
* "Drop" | * "Drop" | ||
|p3= quantity: [[Number]] - support run limit. -1 for unlimited support | |p3= quantity: [[Number]] - support run limit. -1 for unlimited support | ||
| [[Nothing]] | | [[Nothing]] | ||
|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 23:12, 17 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