Your init isn't passing enough arguments, and your add_unit isn't accepting enough arguments.. both of the files are not only outdated, but are separate version from each other..
To start, you're using 3 different versions of files mixed together.. you're using v1 init, v2 add_unit and set_unit, and v4 unit_killed..
Go back to post 1 and do those instructions using those files.. ignore other posts since they are based on outdated files.. i always update post 1 so that...
All, i've come across a problem with the respawns.. They are respawning randomly at 1 of the waypoints you have set, and almost always as a sniper.. i'm debugging now, but I probably won't have anything until tomorrow afternoon..
Very true. I do a ton of stuff just to help people, but it all adds up. You can only rely on people for so much, you guys should get out there and try for yourselves. It's not as hard as you think.
There's a couple ways. 1 would be to check them on login for their achievements. Another would be to run an active checker (every few minutes or so) that would see if they've met their achievements. I think the only potential problem you would find is a way to check them off the list so to speak...
This could be easily done with all of those. The only problem with his, is that there isn't a variable in the server code for time spent on server that I found. There is one for all of the things you mentioned though.
hmm.. theres a survival variable called dayz_skilllevel that tracks the number of days you've been alive.. i dont know if one is passed around that tracks your total server play time though.
download the latest unit_killed file from the original post. I think you're using an outdated one..
actually.. i think you're using an old add_unit_Server.sqf.. hell, i don't even know.. the error you're getting makes no sense.. lol
the localization of your respawnTime variable is incorrect...
I had a script that would kill bandits, but it would pretty heavy on my server. I can find it and give it to you, but my server wouldn't run properly with it. As for commands, I think Axeman has something like that. I never figured it out.
So yeah, do that random i showed you, and use it to replace _sniperRifle and _sniperAmmo and then do the same for gunner and militia..
_sniperSkin = "BAF_Soldier_MTP"
_rndWeapon = floor(random 3);
switch (_rndWeapon) do {
case 0: {_sniperRifle="M24";_sniperAmmo="5Rnd_762x51_M24";};
case 1...
Wait, what are you trying to accomplish? I thought you said you wanted a random weapon for 1 of your gearSets.. If so, this is all you need. All the other variables would stay how they are.. This is only setting _sniperRifle and _sniperAmmo..
If you want different snipers to have different...
in unit_killed.sqf do this:
diag_log format["Respawning in %1",_respawnTime];
right above the line that says "sleep _respawnTime;"
and then check the logs after you kill both groups.. see what it says your respawn times are..
You have it set to 15 minute respawns.. So I don't know why they...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.