BIS fnc limitSupport: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.00 | |version1= 1.00 | ||
Line 9: | Line 8: | ||
|descr= Limits support runs during a mission. | |descr= Limits support runs during a mission. | ||
|s1= [ | |s1= [module, supportType, quantity] call [[BIS_fnc_limitSupport]] | ||
|p1= | |p1= module: [[Object]] - the requester module | ||
|p2= supportType: [[String]] - can be one of: | |p2= supportType: [[String]] - can be one of: | ||
Line 24: | Line 23: | ||
|r1= [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done | ||
|x1= < | |x1= <sqf>[reqModule, "Transport", -1] call BIS_fnc_limitSupport;</sqf> | ||
|seealso= [[BIS_fnc_addSupportLink]] | |||
}} | }} |
Latest revision as of 19:03, 5 May 2022
Description
Syntax
- Syntax:
- [module, supportType, quantity] call BIS_fnc_limitSupport
- Parameters:
- module: Object - the requester module
- 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:
Additional Information
- See also:
- BIS_fnc_addSupportLink
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