mirror of
https://github.com/rambo/arma3_missions.git
synced 2024-08-30 16:52:13 +00:00
13 lines
265 B
Plaintext
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);
|
|
} |