Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Get.ChildObject Class Reference

Detailed Description

Searches the first or nearest child object of an object saved to variable in AI's memory.

Inheritance diagram for Doloro.AI.Get.ChildObject:
Collaboration diagram for Doloro.AI.Get.ChildObject:

Public Types

enum  SearchMode { First , Near }
 Search behavior mode. More...
 

Public Member Functions

override void Init (Brain ai)
 Calling one time when AI initializing. More...
 
override Result Pass (Brain ai)
 Search the first or nearest child object on object saved to variable in AI's memory. More...
 
virtual void End (Brain ai)
 Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More...
 

Public Attributes

int searchModeId = (int)SearchMode.First
 Search mode. First - will return the first founded object with permitted tag. Near- will return the near to AI object with permitted tag.
 
string sourceVariableTitle = "target"
 Variable in AI's memory that contains the source object
 
string resultVariableTitle = "target"
 Variable in AI's memory that will contains the search targetBuffer
 
string tagFilter = ""
 Tag of object that will searched.
 

Properties

GameObject TargetObject [get, protected set]
 Current target object.
 
PipelineItem self [get, set]
 Reference to node that contains this action.
 
virtual DataManagement.DynamicResources.Version version [get]
 Source version. More...
 
virtual string author [get]
 Source author.
 

Member Enumeration Documentation

◆ SearchMode

Search behavior mode.

Enumerator
First 

Selects first found instance passing the conditions..

Near 

Looking for nearest instance passing the conditions.

Member Function Documentation

◆ End()

virtual void Doloro.AI.Action.End ( Brain  ai)
virtualinherited

Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail

Parameters
aiSource AI entity.

Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.

◆ Init()

override void Doloro.AI.Get.ChildObject.Init ( Brain  ai)
virtual

Calling one time when AI initializing.

Reimplemented from Doloro.AI.Action.

◆ Pass()

override Result Doloro.AI.Get.ChildObject.Pass ( Brain  ai)
virtual

Search the first or nearest child object on object saved to variable in AI's memory.

Parameters
aiSource AI entity.
Returns

Implements Doloro.AI.Action.

Property Documentation

◆ version

virtual DataManagement.DynamicResources.Version Doloro.AI.Action.version
getinherited
Initial value:
=
DataManagement.DynamicResources.Version._100

Source version.

Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.


The documentation for this class was generated from the following file: