info_monster_goal

Modified

12-Jul-2023

Non-functional. Use path_waypoint for monster control.

Keyvalues


OnDestroy Function ondestroyfn : Name of the function to use from already parsed .as script files when entity is destroyed (killed) in any way. If the function belongs to namespace, you must use prefix with the namespace name (e.g. mynamespace::MyFunction) for the keyvalue.

Name targetname : Set name of info_monster_goal so other entities can trigger it.

Target target : Name of entity to trigger (fire). Which function relates to it depends on the respective entity. Most will just trigger their target, while others will perform actions on their target or use it as a reference for other activities. Often, multiple entities by the same name may be targeted. Most entities need no target, but having one is essential for most logic entities and basic trigger-systems.

Priority priority :

  • 0 : No enemy
  • 1 : No enemy/Enemy occluded
  • 2 : Ignore enemy
  • 3 : Goal closer than enemy
  • 4 : G.C.T.E./Enemy occluded
  • 5 : Stop only if can attack

Movement Type movementtype :

  • 0 : Walk
  • 1 : Run

Wait before trigger delay :

Move-Complete Radius radius :

Distance For Inactivity triggerradius :

Maximum Required Distance requiredradius :

Health Bonus healthbonus :

Action Animation sequence :

Target Enemy enemy :

Flags


  • 8 : Start Off

  • 16 : Multithreaded

  • 32 : Toggle On Reach