arma3_missions/helotraining.Altis/manualRespawn.sqf
2016-07-24 10:57:58 +03:00

13 lines
265 B
Plaintext

_vehicle = _this select 0;
_target = _this select 1;
_respawnPos = missionNamespace getVariable ("respawn" + format["%1", _vehicle]);
if (alive _vehicle)
then
{
_vehicle setPos (getPos _respawnPos);
_vehicle setDamage 0;
_target setPos (getPos _respawnPos);
}