Corgi Engine
v9.0
|
An AIACtion used to have an AI kill itself More...
Public Member Functions | |
override void | Initialization () |
On init we grab our Health More... | |
override void | PerformAction () |
Kills the AI More... | |
override void | OnEnterState () |
On enter state we reset our flag More... | |
Public Member Functions inherited from MoreMountains.Tools.AIAction | |
virtual void | OnExitState () |
Describes what happens when the brain exits the state this action is in. Meant to be overridden. More... | |
Public Attributes | |
bool | OnlyRunOnce = true |
Public Attributes inherited from MoreMountains.Tools.AIAction | |
InitializationModes | InitializationMode |
whether initialization should happen only once, or every time the brain is reset More... | |
string | Label |
a label you can set to organize your AI Actions, not used by anything else More... | |
Protected Attributes | |
Character | _character |
Health | _health |
bool | _alreadyRan = false |
Protected Attributes inherited from MoreMountains.Tools.AIAction | |
bool | _initialized |
AIBrain | _brain |
Additional Inherited Members | |
Public Types inherited from MoreMountains.Tools.AIAction | |
enum | InitializationModes { InitializationModes.EveryTime, InitializationModes.OnlyOnce } |
Protected Member Functions inherited from MoreMountains.Tools.AIAction | |
virtual void | Awake () |
On Awake we grab our AIBrain More... | |
Properties inherited from MoreMountains.Tools.AIAction | |
virtual bool | ActionInProgress [get, set] |
virtual bool | ShouldInitialize [get] |
An AIACtion used to have an AI kill itself
|
virtual |
On init we grab our Health
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
On enter state we reset our flag
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
Kills the AI
Implements MoreMountains.Tools.AIAction.
|
protected |
|
protected |
|
protected |
bool MoreMountains.CorgiEngine.AIActionSelfDestruct.OnlyRunOnce = true |