Socrate 10 Posted October 8, 2009 Hi guys, i've a little problem... i added an action to a player with the addAction commmand. Hwr if the player dies and respawn to the Respawn_west marker he loose the action i added!! is this normal? what's wrong? If it'is normal how can i add that action again? cause i added it in the init.sqf and if the player respawn the init.sqf isn't executed anymore! Share this post Link to post Share on other sites
Big_Daddy 10 Posted October 8, 2009 Search is a powerful thing... From one of my other posts... this addAction ["Call Blitzy","scripts\blitzy.sqf",[],0,false]; this addeventhandler ["killed", {_this execVM "scripts\blitzyaction.sqf"}]; blitzyaction.sqf waitUntil {alive player}; player addAction ["Call Blitzy","scripts\blitzy.sqf",[],0,false]; if (true) exitWith {}; Share this post Link to post Share on other sites
Socrate 10 Posted October 8, 2009 thank you man! Some of you with a lot of knowledge should update the wiki with this kind of tips!! Share this post Link to post Share on other sites