ERAiAPI
Loading...
Searching...
No Matches
airecreation
GoalNative.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
AiConstants.hpp
"
3
7
class
GoalNative
8
{
9
public
:
10
18
bool
Activate
();
19
47
GOAL_RESULT
Update
(
float
dT);
48
60
bool
Terminate
();
61
71
bool
Interrupt
();
72
};
AiConstants.hpp
GOAL_RESULT
GOAL_RESULT
Definition
AiConstants.hpp:5
GoalNative
Meant to document how the goal object works inside the game executable.
Definition
GoalNative.hpp:8
GoalNative::Update
GOAL_RESULT Update(float dT)
Called every game tick.
GoalNative::Terminate
bool Terminate()
Called whenever a goal is deleted, such as success, failure, ClearSubGoal, etc. Only if goal already ...
GoalNative::Interrupt
bool Interrupt()
Called on game tick.
GoalNative::Activate
bool Activate()
Called from Update, Interrupt and other functions that can add goals. If already activated return tru...
Generated by
1.11.0