Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.Check.IsCurrentPositionInRadius Class Reference

Detailed Description

Checks does the current position of AI's entity is within a sphere with defined offset.

Todo:
Nonuniform action. Must be reworked. Normally should compare distance between two point with a flexible interface.
Inheritance diagram for Doloro.AI.Check.IsCurrentPositionInRadius:
Collaboration diagram for Doloro.AI.Check.IsCurrentPositionInRadius:

Public Member Functions

override Result Pass (Brain ai)
 Implements runtime execution logic for the logical node. More...
 
virtual void Init (Brain ai)
 Calling one time when AI initializing. 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

string v3TargetPositionVariable = ""
 Name of variable in the AI's memory that contains the world coordinates of the player point.
 
string circleRadiusVariable = ""
 Name of variable in the AI's memory that contains the value in float of offset of search circle area. If current AI will be founded on this area then Pass will return the Success status.
 

Properties

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 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()

◆ Pass()

override Result Doloro.AI.Check.IsCurrentPositionInRadius.Pass ( Brain  ai)
virtual

Implements runtime execution logic for the logical node.

Parameters
aiReference to AI entity.
Returns
Result of operation. Success, Fail or In progress.

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: