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.
Im curious is there a way to add a timer so they can only do this once every x amount of minute?
Personally I'd like to increase the time it takes to actually complete the selfBB
Im curious is there a way to add a timer so they can only do this once every x amount of minute?
Both these suggestions taken into account, I will look into adding these and update when I get a chance(expect later tonight or tomorrow)!Personally I'd like to increase the time it takes to actually complete the selfBB
You are quite welcome sir!Works perfectly, many thanks!
PlayerHumanity = (player getVariable"humanity");
if ((getPlayerUID player) in ["XXXXXXXX"] or (PlayerHumanity < -15000) or (PlayerHumanity > 7000)) then {
_mags = magazines player;
// Krixes Self Bloodbag
if ("ItemBloodbag" in _mags) then {
hasBagItem = true;
} else { hasBagItem = false;};
if((speed player <= 1) && hasBagItem && _canDo) then {
if (s_player_selfBloodbag < 0) then {
s_player_selfBloodbag = player addaction[("<t color=""#c70000"">" + ("Self Bloodbag") +"</t>"),"scripts\bloodbag.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_selfBloodbag;
s_player_selfBloodbag = -1;
};
};
That looks like it should work, I have not changed anything related to fn_selfActions so your old method should work fine!If I put this in the fn_selfactions.sqf will it work
Im an ok scripter... i get by lawlSo what other things you going to make?if your a good scripter i got a awesome idea
You will need to let me see what the files look like. I have not looked into DayZ Epoch's code.I'm having trouble getting this to work. I'm using DayZ Epoch and the missions aren't in PBO files, they're just in a folder structure in the MPMission directory. I've added all relevant items into there and extracted the fn_selfActions.sqf from the Epoch files since it is different but I still can't get anything to show up in game.
I'm also not seeing any error messages in the logs. Any ideas?
I can attach any files you need to check.
Thanks lawl!Man you work fast...
Did you clothes script work before adding my script?Thanks, I've attached the files I've been using in their structure.
Also players have told me that most of the other functionality in the game has stopped working. I'm guessing that something is stopping the scripts from progressing.
The file can be found here:
http://www.filedropper.com/bloogbags
Please let me know if you want me to upload it via a different source.
Thanks.