Toggle Slow Zombies

This commit is contained in:
Mikeeeyy
2015-02-08 00:23:55 +00:00
parent aa6dad1c42
commit 75e674aeed

View File

@@ -472,7 +472,8 @@ class FSM
"" \n "" \n
"//Move to target" \n "//Move to target" \n
"_agent moveTo _targetPos;" \n "_agent moveTo _targetPos;" \n
"_agent forceSpeed 10;" \n "_speed = if (!isNil "DZE_slowZombies" && {DZE_slowZombies}) then { 2 } else { 10 };
"_agent forceSpeed _speed;" \n
"" \n "" \n
"if (_losCheck == 2) then {" \n "if (_losCheck == 2) then {" \n
" _losCheck = 0;" \n " _losCheck = 0;" \n
@@ -703,4 +704,4 @@ class FSM
"End" "End"
}; };
}; };
/*%FSM</COMPILE>*/ /*%FSM</COMPILE>*/