Jump to content
  • 0

AI mission vehicles exploding upon entry


Proto

Question

Im not very good at scripting, barely know what I'm doing but whenever someone enters an AI mission vehicle it explodes. I know it's to do with server_cleanup.fsm (I think) but I'm not sure why it won't work, as I said I barely know anything when it comes to scripts. 

I was following what they said to do on this 

 

This is what I have so far: 

 

server_checkHackers = {
if (DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN_HackerCheck = nil; DZE_DYN_AntiStuck2nd = 0; };
if(!isNil "DZE_DYN_HackerCheck") exitWith {  DZE_DYN_AntiStuck2nd = DZE_DYN_AntiStuck2nd + 1;};
DZE_DYN_HackerCheck = true;
{
if(vehicle _x != _x && (vehicle _x getVariable [""Mission"",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x));
(vehicle _x) setDamage 1;
_x setDamage 1;
sleep 0.25;
 
Is there something I have done wrong or missed out?
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

what mission system do you want to use? You can find the newest DZMS/EMS on this forum they have their own categories :P

I'm not even sure, I wasn't the one who added it lol, I'll find out when I can and take it from there I guess

 

http://opendayz.net/threads/release-dayzchernarus-mission-system.12169/ I think it's this one, but I have no idea how to install it, never added any scripts and had a 10 minute lesson from a friend

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...