BIS fnc limitSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 24: Line 24:
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |SYNTAX=
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |SYNTAX=


|p1= caller: [[Object]] - the unit able to request support |= Parameter 1
|p1= caller: [[Object]] - the unit able to request support |PARAMETER1=


|p2= supportType: [[String]] - can be one of:
|p2= supportType: [[String]] - can be one of:
Line 31: Line 31:
* "CAS_Heli"
* "CAS_Heli"
* "CAS_Bombing"
* "CAS_Bombing"
* "Drop" |= Parameter 2
* "Drop" |PARAMETER2=


|p3= quantity: [[Number]] - support run limit. -1 for unlimited support |= Parameter 3
|p3= quantity: [[Number]] - support run limit. -1 for unlimited support |PARAMETER3=


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


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



Revision as of 14:30, 7 April 2019


Hover & click on the images for description

Description

Description:
Limits support runs during a mission.
Execution:
call
Groups:
Uncategorised

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