BIS fnc limitSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling - missing see also)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Limits support runs during a mission. |= Description
 
Description:
Limits support runs during a mission.


Parameter(s):
Parameter(s):
Line 23: Line 20:
_this select 2: NUMBER - Support run limit
_this select 2: NUMBER - Support run limit
-1: Unlimited
-1: Unlimited
____________________________________________________________________________________________


Returns:
| [caller, supportType, quantity] call [[BIS_fnc_limitSupport]] |= Syntax
nothing
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= caller: [[Object]] - the unit able to request support |= Parameter 1
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_limitSupport]]; --> |= Syntax
|p2= supportType: [[String]] - can be one of:
* "Artillery"
* "Transport"
* "CAS_Heli"
* "CAS_Bombing"
* "Drop" |= Parameter 2


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


| |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 19:09, 26 April 2018


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