Quantcast
Channel: Open DayZ Community
Viewing all articles
Browse latest Browse all 9028

Testing the Zombies Killed Variable - Looking for help

$
0
0
I want to add a script to my server that will set some variables, based on the number of Zombie Kills the player has. I'm using the line of code from my custom debug monitor to retrieve the number of zombies killed.

Here's what I've been trying ...

-----------------------------------------------------------------

_kills = player getVariable["zombieKills",0];

if (_kills < 10) then {
_var1 = 0;
_var2 = 0;
};

if (_kills > 10) then {
_var1 = 1;
_var2 = 5;
};

if (_kills > 20) then {
_var1 =...

Testing the Zombies Killed Variable - Looking for help

Viewing all articles
Browse latest Browse all 9028

Trending Articles