Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!player_suicide = {
_fsm = [_person,_this] execFSM "\dz\server\scripts\fsm\player_suicide.fsm";
_person setVariable ["fsm_suicide",_fsm];
};
event_animHook =
{
//[SurvivorPartsFemaleWhite:0:0,3,"fired"]
_agent = _this select 0;
_value = _this select 1;
_type = _this select 2;
hint "test!";
switch (_type) do
{
case "fired":
{
_fsm = _agent getVariable ["fsm_suicide",-1];
hint "bang!";
if (_fsm < 0) exitWith {};
hint "bang bang!";
_fsm setFSMVariable ["_fired",true];
};
};
};