BIS fnc limitSupport: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix parameter description)
m (Fix example)
Line 24: Line 24:
|r1= [[Boolean]] - [[true]] when done
|r1= [[Boolean]] - [[true]] when done


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

Revision as of 22:54, 14 March 2021

Hover & click on the images for description

Description

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

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:
[reqModule, "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