Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dp88_customAI Class Reference

danpaul88's Custom AI Core More...

#include <dp88_customAI.h>

Public Member Functions

virtual void ResetAllActions (GameObject *obj)
 

Detailed Description

Author
Daniel Paul (danpa.nosp@m.ul88.nosp@m.@yaho.nosp@m.o.co.nosp@m..uk)

This class contains the core logic used in custom AI scripts, such as the target prioritisation mechanism. It is not an actual script in it's own right and cannot be used in LevelEdit directly.

Note
AI scripts derived from this class support being disabled and enabled on the fly by sending the following custom messages to the object the script is attached to.
Custom Message Effect
-637140989 Disable the AI
-637140988 Enable the AI

Member Function Documentation

◆ ResetAllActions()

void dp88_customAI::ResetAllActions ( GameObject * obj)
virtual

Called by derived classes to cancel all ongoing actions, can be overridden in a derived class to reset variable states as necessary

Reimplemented in dp88_AI_Unit.