Default constructor.
Static
Readonly
__nameName of luabind class constructor.
Readonly
__nameName of luabind class instance constructor.
Readonly
objectGame object that is handled by current planner instance.
Readonly
storageContainer reference with state of planner preconditions.
Get action instance by unique id
.
unique identifier of the action to get
Add generic action by id
for planner execution.
unique identifier of new action
action implementation containing preconditions, logics, effects and other meta infos
Add evaluator instance for current action planner.
unique identifier of the evaluator
instance of evaluator linked to the id
Get currently active action being executed.
current action instance reference
Get evaluator instance by id
.
unique identifier of the evaluator to get
Set target world state to try to reach with all the graph logics. All graphs will be built from current state to goal world state with the shortest possible path.
target world state to reach with planner
Setup planner for game object.
client game object to setup planner for
Debug method. With mixed / debug build allows investigation of evaluators and actions matches. Helps to debug custom actions and actions pre-conditions with state printing in log files.
Note: Available only in mixed / debug engine builds, not for direct usage from lua.
string prefix to display current action state in logs
Source
C++ class action_planner
Custom Constructor
action_planner