Components and Actors
This page presents functionalities provided by the Grail plugin’s components.
Grail AI Manager Actor
This actor holds the ownership of one instance of AIManager
.
The user should ensure that at least one AGrailAIManager
is present on each level where Grail-controlled agents are desired.
Default implementation of AGrailAIManager updates registered entities and their reasoners every frame. If this is not the intended behavior, please inherit from AGrailAIManager and provide different logic.
|
AI Entity Component
This component holds the ownership of one instance of AIEntity
.
Every object which should be able to think requires this component.
The user can define which entity from given GrailConfigurationLoader
associated with the desired config file will be constructed in each instance of this component.
Additionally, it is possible to order a group to be registered on scene startup.
Entity Group Component
This component holds ownership of one instance of a group of AIEntities
.
The user should use this component whenever a character should be controlled by more than one "mind" (e.g. separate logic for movement and aiming, executed in parallel).
The user can define which group from a given GrailConfigurationLoader
associated with desired config file will be constructed in each instance of this component.
Additionally it is possible to order group to be registered on scene startup.