Unit ai_animal
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Shared Artificial Stupidity unit for animal AI
Uses
- SysUtils
- Math
Overview
Functions and Procedures
procedure wander(id, spx, spy: smallint); |
procedure chasePlayer(id, spx, spy: smallint); |
procedure escapePlayer(id, spx, spy: smallint); |
procedure combat(id: smallint); |
procedure infighting(npcID, enemyID: smallint); |
Description
Functions and Procedures
procedure wander(id, spx, spy: smallint); |
Move in a random direction |
procedure chasePlayer(id, spx, spy: smallint); |
Chase the player character |
procedure escapePlayer(id, spx, spy: smallint); |
Run away from the player character |
procedure combat(id: smallint); |
NPC attacks the player |
procedure infighting(npcID, enemyID: smallint); |
NPC attacks another entity |
Generated by PasDoc 0.16.0.