Jump to content

Killed zombies check (fixed)


SadBoy1981

Recommended Posts

 

FIXED

Just try to add script where need to kill 10 zombies

Something like this;

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

 ZombiesKilled = _zombies_killed;

and later check, is it killed 10 zombies;

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

  _zombies_last_check = (ZombiesKilled) + 10;
  
    	if (_zombies_killed_now >= _zombies_last_check) then { 
         systemChat "blah blah blah...";
         } else { 
         systemChat "blah blah blah...";
        };

 

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
  • Advertisement
  • Discord

×
×
  • Create New...