Fix invisible and running bloodsucker after death

This commit is contained in:
A Man
2021-08-28 15:57:30 +02:00
parent 3448563884
commit 2639cece9e
3 changed files with 10 additions and 2 deletions

View File

@@ -4,6 +4,14 @@
local _array = _this;
local _mutant = _array select 0;
[nil, _mutant, rSWITCHMOVE, ""] call RE;
local _skin = _mutant getVariable ["mutantSkin", "act_krovosos_new1"];
local _texture = format["\dayz_epoch_c\skins\bloodsucker\%1.paa",_skin];
_mutant setVehicleInit "this setObjectTexture [0,_texture];";
processInitCommands;
local _killer = _array select 1;
if (local _mutant && isPlayer _killer) then {