Added all CAI_BaseNPC functions so far

Blixibon 2020-05-21 09:47:16 -05:00
parent e818b7d681
commit 1448deafed

@ -45,6 +45,22 @@ The base class shared by players and NPCs.
| *Vector* EyeDirection3D()| Get the eyes' 3D direction. |
### CAI_BaseNPC
The base class shared all NPCs derive from.
| Signature | Description |
|:------------- | :-----|
| *handle* GetEnemy()| Get the NPC's current enemy. |
| *void* SetEnemy(handle *target*)| Set the NPC's current enemy. |
| *Vector* GetEnemyLKP()| Get the last known position of the NPC's current enemy. |
| *handle* FindEnemyMemory()| Get information about the NPC's current enemy. |
| *int* GetNPCState()| Get the NPC's current state. |
| *string* GetSchedule()| Get the NPC's current schedule. |
| *string* GetTask()| Get the NPC's current task. |
| *void* SetSchedule(string *schedule*)| Set the NPC's current schedule. |
| *void* ClearSchedule(string *reason*)| Clear the NPC's current schedule for the specified reason. |
| *handle* GetExpresser()| Get a handle for this NPC's expresser. |
| *bool* IsCommandable()| Check if the NPC is commandable. |
| *bool* IsInPlayerSquad()| Check if the NPC is in the player's squad. |
### CAI_BaseActor