BIS fnc limitSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| )+\}\}" to "}}")
m (Text replacement - " {2,}\}\}" 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 23:55, 18 January 2021

Hover & click on the images for description

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