geekm0nkey 144 Report post Posted June 1, 2018 (edited) Had a few requests for this.. When a player dies inside of a safezone however it might happen.. I need to have the body and marker moved out.. Because of anti-theft the player cannot get his gear.. And even with infistar I cannot move the body, it just teleports back. Does anyone have or know of a script that address this? Edited June 3, 2018 by geekm0nkey Share this post Link to post Share on other sites
WhiteBl00d 7 Report post Posted June 2, 2018 why not just disabling it? search in fn_preInit.sqf Line 622 for "Exile_Unit_Player" and change it to "Exile_Unit_Player1" all other stuff is still working for me and players can loot here body in safezone Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted June 2, 2018 is this fn in infistar? exile override? Share this post Link to post Share on other sites
WhiteBl00d 7 Report post Posted June 2, 2018 (edited) fn_preInit.sqf you find in your infistar pbo where you also have the config file also this was just a quick change i mad after i noticed this. i am sure this can be done better Edited June 2, 2018 by WhiteBl00d Share this post Link to post Share on other sites
WURSTKETTE 212 Report post Posted June 2, 2018 @infiSTAR Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted June 2, 2018 (edited) OK I see the code in question, wonder if we could add a check if player is alive instead of just removing it. So that looting of a dead player would be fine. or If dead player = player who is looting is OK. Edited June 3, 2018 by geekm0nkey Share this post Link to post Share on other sites
geekm0nkey 144 Report post Posted June 3, 2018 (edited) Took a little trial and error but this works, there may be a better way to write this.. feel free to improve upon it.. But this will only allow the owner of the dead body to collect the gear from it.. Everyone else will get the "cannot loot in safezone message" _name = _container getVariable ["ExileName", -1]; _pname = name player; if(typeOf _container isEqualTo 'Exile_Unit_Player' && !(_container isEqualTo player) && (!local _container) && {ExilePlayerInSafezone} && !(_name isEqualTo _pname))exitWith { systemChat 'Can not loot a player object within a safeZone!'; true }; Edited June 3, 2018 by geekm0nkey 1 Share this post Link to post Share on other sites
FlipM0d3 11 Report post Posted July 7, 2018 On 3-6-2018 at 3:53 AM, geekm0nkey said: Took a little trial and error but this works, there may be a better way to write this.. feel free to improve upon it.. But this will only allow the owner of the dead body to collect the gear from it.. Everyone else will get the "cannot loot in safezone message" _name = _container getVariable ["ExileName", -1]; _pname = name player; if(typeOf _container isEqualTo 'Exile_Unit_Player' && !(_container isEqualTo player) && (!local _container) && {ExilePlayerInSafezone} && !(_name isEqualTo _pname))exitWith { systemChat 'Can not loot a player object within a safeZone!'; true }; And where can i place your script m8? Share this post Link to post Share on other sites
Whitey 44 Report post Posted April 21 On 6/3/2018 at 3:53 AM, geekm0nkey said: Took a little trial and error but this works, there may be a better way to write this.. feel free to improve upon it.. But this will only allow the owner of the dead body to collect the gear from it.. Everyone else will get the "cannot loot in safezone message" _name = _container getVariable ["ExileName", -1]; _pname = name player; if(typeOf _container isEqualTo 'Exile_Unit_Player' && !(_container isEqualTo player) && (!local _container) && {ExilePlayerInSafezone} && !(_name isEqualTo _pname))exitWith { systemChat 'Can not loot a player object within a safeZone!'; true }; @geekm0nkey Where can i place your script? My Infistar fn_preInit.sqf only has 22 Lines. Share this post Link to post Share on other sites