BIS fnc respawnBackpack: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Respawn(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.95 | |1.95 | ||
|gr1= Respawn | |gr1= Respawn | ||
<!---|arg= local |Multiplayer Arguments=---> | <!---|arg= local |Multiplayer Arguments=---> | ||
Line 38: | Line 38: | ||
Curator is informed of a successful assignment of ownership of the tent or sleeping back as well as failure | 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 | In case of failure the item is automatically removed from the map | ||
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} | */</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} | ||
|[] call [[BIS_fnc_respawnBackpack]] | |[] call [[BIS_fnc_respawnBackpack]] | ||
|p1= parameter: Datatype - (Optional, default defValue) description | |p1= parameter: Datatype - (Optional, default defValue) description | ||
|Datatype - description | |Datatype - description | ||
|x1= <code></code> | |x1= <code></code> | ||
|exec= call |Execution= | |exec= call |Execution= | ||
| | | | ||
}} | }} | ||
Revision as of 23:39, 17 January 2021
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 */
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- [] call BIS_fnc_respawnBackpack
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
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