private arrays part 1

This commit is contained in:
[VB]AWOL
2013-10-22 09:10:27 -05:00
parent e303e033b6
commit af4b876cde
41 changed files with 47 additions and 46 deletions

View File

@@ -10,7 +10,8 @@ s_player_warndog = -1;
_handle setFSMVariable ["_watchDog",_watchDog];
_warn = {
_handle = _this select 0;
private ["_watchDog","_dog","_nearby","_senseSkill","_handle"];
_handle = _this select 0;
while {_watchDog and alive _dog} do {
_watchDog = _handle getFSMVariable "_watchDog";
_senseSkill = _handle getFSMVariable "_senseSkill";