broken switches

This commit is contained in:
DarthArgus
2015-10-30 13:46:12 -05:00
parent d4213197e9
commit aed336bde4
3 changed files with 9 additions and 2 deletions
@@ -158,16 +158,22 @@ messageHandler pathToNextPoint()
{
case restuss_event.PATROL:
ai_lib.setPatrolPath(self, patrolPoints);
break;
case restuss_event.PATROL_ONCE:
ai_lib.setPatrolOncePath(self, patrolPoints);
break;
case restuss_event.PATROL_FLIP:
ai_lib.setPatrolFlipPath(self, patrolPoints);
break;
case restuss_event.PATROL_FLIP_ONCE:
ai_lib.setPatrolFlipOncePath(self, patrolPoints);
break;
case restuss_event.PATROL_RANDOM:
ai_lib.setPatrolRandomPath(self, patrolPoints);
break;
case restuss_event.PATROL_RANDOM_ONCE:
ai_lib.setPatrolRandomOncePath(self, patrolPoints);
break;
}
return SCRIPT_CONTINUE;
@@ -177,4 +183,4 @@ void doLogging(string section, string message)
{
if (LOGGING)
LOG("doLogging/event_squad_leader/"+section, message);
}
}