Arma 3 Scripting

BIS_fnc_moveToRespawnPosition

  • Local argument
  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Move given unit to given respawn position. Units moved to height >= 30m will start on parachute. Position [0,0,0] is blacklisted. This function must be executed where unit to be moved is local.

Syntax

[unit, position, canBeDead] call BIS_fnc_moveToRespawnPosition

Parameters:

Returns: Boolean - true: move succeeded, false: move failed

Examples

Example 1

[player, "SpawnMarker1"] call BIS_fnc_moveToRespawnPosition;