Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Schedule and state enumerations for use with Aiscripted_schedule?  (Read 407 times)

0 Members and 1 Guest are viewing this topic.

Offline Dazza-chan

  • *
  • +1% chance to make useful post
  • Dazza-chan has no influence.
Anyone got a list or know where i can find the number values for npc states and schedules? i cant find them anywhere and i need them for the "forcestate" & "schedule" keyfields for Aiscripted_schedule in a mapadd.

Offline Dazza-chan

  • *
  • +1% chance to make useful post
  • Dazza-chan has no influence.
Re: Schedule and state enumerations for use with Aiscripted_schedule?
« Reply #1 on: April 06, 2018, 10:07:49 AM »
I think i found it in scripted.cpp

      SCHED_SCRIPT_NONE = 0,
      SCHED_SCRIPT_WALK_TO_GOAL =1,
      SCHED_SCRIPT_RUN_TO_GOAL =2,
      SCHED_SCRIPT_ENEMY_IS_GOAL =3,
      SCHED_SCRIPT_WALK_PATH_GOAL =4,
      SCHED_SCRIPT_RUN_PATH_GOAL =5,
      SCHED_SCRIPT_ENEMY_IS_GOAL_AND_RUN_TO_GOAL =6,


      NPC_STATE_NONE =0,
      NPC_STATE_IDLE =1,
      NPC_STATE_ALERT =2,
      NPC_STATE_COMBAT =3


Correct me if im wrong anyone.