Jump to content
Sign in to follow this  
KennyTheLiving

Could someone explain this init?

Recommended Posts

Hey guys, I would appreciate if someone could explain the lines in this init.

 

{this disableAI _x} forEach ["ANIM", "AUTOTARGET", "FSM", "MOVE", "TARGET"];

this setBehaviour "CARELESS";

0 = this spawn {waitUntil {time > 0};

_this switchMove "Acts_carFixingWheel";

_this say3D "Acts_carFixingWheel";

_animEH = _this addEventHandler ["AnimDone", {(_this select 0) switchMove (_this select 1);

(_this select 0) say3D "Acts_carFixingWheel"}];

_this setVariable ["BIS_animEH", _animEH]; _killedEH = _this addEventHandler ["Killed", {(_this select 0) removeEventHandler ["Killed", (_this select 0) getVariable "BIS_animEH"]}];

_this setVariable ["BIS_killedEH", _killedEH]}; removeHeadgear this; removeVest this;

this unlinkItem "NVGoggles";

this addGoggles "G_Lowprofile";

removeBackpack this;

removeAllWeapons this

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×