BIS_fnc_respawnTickets
Jump to navigation
Jump to search
Description
- Description:
/* Description: Adjust number of respawn tickets. When player dies, the number is automatically decreased by 1; When number of tickets reaches 0, player's respawn is disabled. Parameter(s): 0: NAMESPACE, SIDE, GROUP or OBJECT - tickets space (e.g., it's possible to define two different ticket numbers for each side) BOOL - true to return number of tickets in all spaces (used for returning value only, won't set anything) ARRAY - return losing space from the passed list (elements can be of type NAMESPACE, SIDE, GROUP or OBJECT) 1: NUMBER - by how much will the ticket count be adjusted 2 (Optional): BOOL - true to autodetect tickets space. First param have to be an object. Used for modifying player's current tickets. Returns: NUMBER - remaining tickets after adjustment (-1 when no tickets were defined yet) ARRAY - when array was used as an argument, returned value is [<losingSpace>,<tickets>] */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
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