BIS fnc limitSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Supports |GROUP1=
|gr1 = Supports |GROUP1=
____________________________________________________________________________________________


| Limits support runs during a mission. |DESCRIPTION=
| Limits support runs during a mission. |DESCRIPTION=
Line 21: Line 19:
_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=
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |SYNTAX=
Line 37: Line 34:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> |EXAMPLE1=
|x1= <code><nowiki>[</nowiki>[[player]], "Transport", -1] [[call]] [[BIS_fnc_limitSupport]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| |SEEALSO=
| |SEEALSO=

Revision as of 23:29, 16 January 2021

Hover & click on the images for description

Description

Description:
Limits support runs during a mission.
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

Notes

Bottom Section