BIS_fnc_respawnBackpack

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.95
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.95

Description

Description:
/* 
	Author: 
		Killzone_Kid

	Description:
		Handles respawn camps functionality.
		Whover "assembles" a camp from backpack it will receive a new respawn position.
		When backpack object has 'respawnNearbyPlayers' attribute set to 1, nearby players will receive the respawn position as well.

	Parameter(s):
		!!! FOR USE WITH RESPAWN CAMP EVENT HANDLERS ONLY !!!
		0: STRING - mode
		1: ARRAY - mode arguments

	Returns:
		NOTHING
		
		Curator can drop a sleeping bag next to a player to give him respawn point or a tent, to give a group of players within 50m a respawn point
		Curator placed respawn item cannot be disassembled by a player and could only be deleted by curator or destroyed by player
		Destroyed tent or sleeping back is deleted soon after
		A sleeping bag is individual respawn point and will also get automatically deleted when player leaves MP session
		A tent will be assigned a new owner from the list of allowed tent users when original owner leaves
		When the last tent user leaves the tent is deleted
		The tent marker contains the name of the current tent owner
		Any player can pack player placed tent or sleeping back and then reuse
		Curator is informed of a successful assignment of ownership of the tent or sleeping back as well as failure
		In case of failure the item is automatically removed from the map		
*/
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki

Syntax

Syntax:
[] call BIS_fnc_respawnBackpack
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:
Example needed

Additional Information

Execution:
call
Multiplayer:
-
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