BIS_fnc_respawnTickets

From Bohemia Interactive Community
Revision as of 18:42, 3 April 2006 by Unknown user (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

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)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section