Cubitron Posted January 1, 2017 Report Share Posted January 1, 2017 Hello all, the new Study_body is completed different to the old on, maybe someone can tell me how the new works. i try to get a addaction on Deadbodys greetz Link to comment Share on other sites More sharing options...
juandayz Posted January 2, 2017 Report Share Posted January 2, 2017 18 hours ago, Cubitron said: Hello all, the new Study_body is completed different to the old on, maybe someone can tell me how the new works. i try to get a addaction on Deadbodys greetz maybe you can use this part in fn_selfactions? if (!alive _cursorTarget && _isMan && !_isZombie && !_isHarvested) then { if (s_player_pzombiesfeed < 0) then { s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",_cursorTarget, 3, true, false]; }; } else { player removeAction s_player_pzombiesfeed; s_player_pzombiesfeed = -1; }; _player_studybody16 = false; if (_isMan && !_isZombie && !_isAnimal) then { _player_studybody16 = true; }; if (_player_studybody16) then { if (s_player_studybody16 < 0) then { s_player_studybody16 = player addAction [("<t color=""#FF0000"">"+("something") + "</t>"), "your path",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_studybody16; s_player_studybody16 = -1; }; if (!alive _cursorTarget && _isMan && !_isZombie && !_isHarvested) then { if (s_player_pzombiesfeed < 0) then { s_player_pzombiesfeed = player addAction [localize "STR_EPOCH_ACTIONS_FEED", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",_cursorTarget, 3, true, false]; }; } else { } else { player removeAction s_player_pzombiesfeed; s_player_pzombiesfeed = -1; }; } else { player removeAction s_player_pzombiesfeed; s_player_pzombiesfeed = -1; }; }; Cubitron 1 Link to comment Share on other sites More sharing options...
Cubitron Posted January 3, 2017 Author Report Share Posted January 3, 2017 Thanks for the reply Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now