tweak switch model/morph again

This commit is contained in:
icomrade
2017-07-29 14:50:24 -04:00
parent ff7ec49ac5
commit bc4be38629
2 changed files with 8 additions and 5 deletions

View File

@@ -81,11 +81,12 @@ _leader = (player == leader _oldGroup);
_group = createGroup west;
_newUnit = _group createUnit [_class,respawn_west_original,[],0,"NONE"];
_newUnit allowDamage false;
mydamage_eh1 = _newUnit AddEventHandler ["HandleDamage", {False}];
_newUnit setDir _dir;
{_newUnit removeMagazine _x;} count magazines _newUnit;
removeAllWeapons _newUnit;
if (!isnil "_CID") then {_newUnit setVariable ["characterID",_CID,true];}; //set early to prevent dupe
if (!isnil "_CID") then {_newUnit setVariable ["characterID",_CID,true];};
//Equip New Character
{