chisel
Member
Exo did you post in the right thread?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Exo did you post in the right thread?
I have this running just fine on Epoch 1.0.2.4/103718. I'd say start over again, and just double check each step, it does work.
The only issue I have is that "Take Clothes" is an option on dead animals. Can I disable that by adding the animal skin names into the exclusion code?
if (animal) then { //nothing } else if (isMan){ take clothes script };
add a check like this (rough idead not working code
Code:if (animal) then { //nothing } else if (isMan){ take clothes script };
Where to put it in... top, middle, bottom?fnc_usec_selfActions = compile preprocessFileLineNumbers "scripts\fn_selfActions.sqf";
Where to put it in... top, middle, bottom?_clothesTaken = cursorTarget getVariable["clothesTaken",false];
// Take clothes by Zabn @ BalotaBuddies.net
if (_isMan and !_isAlive and !_isZombie and !_clothesTaken) then {
if (s_player_clothes < 0) then {
s_player_clothes = player addAction [("<t color='#0096ff'>")+("Take Clothes")+("</t>"), "scripts\player_takeClothes.sqf",cursorTarget, -10, false, true, "",""];
};
} else {
player removeAction s_player_clothes;
s_player_clothes = -1;
};
//Sleep
if(cursorTarget isKindOf "TentStorage" and _canDo and _ownerID == dayz_characterID) then {
if ((s_player_sleep < 0) and (player distance cursorTarget < 3)) then {
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_sleep;
s_player_sleep = -1;
};
_clothesTaken = cursorTarget getVariable["clothesTaken",false];
// Take clothes by Zabn @ BalotaBuddies.net
if (_isMan and !_isAlive and !_isZombie and !_clothesTaken) then {
if (s_player_clothes < 0) then {
s_player_clothes = player addAction [("<t color='#0096ff'>")+("Take Clothes")+("</t>"), "scripts\player_takeClothes.sqf",cursorTarget, -10, false, true, "",""];
};
} else {
player removeAction s_player_clothes;
s_player_clothes = -1;
};
//Sleep
if(cursorTarget isKindOf "TentStorage" and _canDo and _ownerID == dayz_characterID) then {
if ((s_player_sleep < 0) and (player distance cursorTarget < 3)) then {
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_sleep;
s_player_sleep = -1;
};
// Take Clothes by Zabn @ Balota Buddies
player removeAction s_player_clothes;
s_player_clothes = -1;
13:34:33 Error in expression <_itemNewName","_result"];
_body = _this select 3;
_onLadder = (getNumber (config>
13:34:33 Error position: <select 3;
_onLadder = (getNumber (config>
13:34:33 Error Zero divisor
13:34:33 File mpmissions\DayZ_Epoch_11.Chernarus\addons\player_takeclothes.sqf, line 3
File mpmissions\DayZ_Epoch_11.Chernarus\addons\player_takeclothes.sqf, line 3
i keep getting error (currently xxxx<---skin is not supported by steal skin script). I am using tavi epoch with ai, i can add the skins in my self but where?
Help and discussion for Zabns Take Clothes starts here.
Is there anyway to make it so clothes cant rip when removing them or make it so that it doesn't happen as often?
I think you have this confused with another "take clothes" script. I've never had clothes rip using this script.