BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|1.00 | |version1= 1.00 | ||
|gr1 = Supports | |gr1= Supports | ||
| Limits support runs during a mission. | |descr= Limits support runs during a mission. | ||
|s1= [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 | ||
Line 33: | Line 22: | ||
|p3= quantity: [[Number]] - support run limit. -1 for unlimited support | |p3= quantity: [[Number]] - support run limit. -1 for unlimited support | ||
| [[ | |r1= [[Boolean]] - [[true]] when done | ||
|x1= <code><nowiki | |x1= <code>[<nowiki/>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> | ||
}} | }} |
Revision as of 22:27, 14 March 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:
- Boolean - true when done
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