BIS fnc respawnBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "{{Feature|Important|" to "{{Feature|important|")
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


|descr= Handles respawn camps functionality. Whoever "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.
|descr= Handles respawn camps functionality. Whoever "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.
{{Feature|Important|Only for use with respawn camp event handlers!}}
{{Feature|important|Only for use with respawn camp event handlers!}}


|s1= [] call [[BIS_fnc_respawnBackpack]]
|s1= [] call [[BIS_fnc_respawnBackpack]]


|p1= mode: [[String]] - Mode
|p1= mode: [[String]] - mode


|p2= arguments: [[Array]] - Mode arguments
|p2= arguments: [[Array]] - mode arguments


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 01:24, 2 February 2024

Hover & click on the images for description

Description

Description:
Handles respawn camps functionality. Whoever "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.
Only for use with respawn camp event handlers!
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[] call BIS_fnc_respawnBackpack
Parameters:
mode: String - mode
arguments: Array - mode arguments
Return Value:
Nothing

Examples

Example 1:
-

Additional Information

See also:
-

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