BIS_fnc_respawnTickets

From Bohemia Interactive Community
Revision as of 19:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Hover & click on the images for description

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

Notes

Bottom Section