User Tools

Site Tools


api:behavior_tree_data_location

BEHAVIOR_TREE_DATA_LOCATION

Category: Data

Parent class: BEHAVIOR_TREE_DATA

Cloneable

Properties


CanNavigateOnGround

Serialized, Savegame

  • Type: boolean
  • Expected: boolean value
  • Default value: true

CanNavigateOnWater

Serialized, Savegame

  • Type: boolean
  • Expected: boolean value
  • Default value: false

GotoObjectPosition

Serialized, Savegame

  • Type: boolean
  • Expected: boolean value
  • Default value: false

IsSetOrientationOnDestination

Serialized, Savegame

  • Type: boolean
  • Expected: boolean value
  • Default value: false

OrientationOffset

Serialized, Savegame

  • Type: float
  • Expected: float value
  • Default value: 0.0

DestinationPosition

Runtime only, Savegame

  • Type: vec3f
  • Expected: vec3f value

DestinationObject

Runtime only, Savegame


HasOffset

Runtime only, Savegame

  • Type: boolean
  • Expected: boolean value
  • Default value: false

AlternativeDestinationList

Runtime only, Savegame

  • Type: list<vec3f>
  • Expected: list of vec3f values

Functions


setDestination

void setDestination(object)

Name Type Description
object GAME_OBJECT

void setDestination(object, offset [, isOffsetLocal])

Name Type Description
object GAME_OBJECT
offset vec2f
isOffsetLocal boolean

void setDestination(destination)

Name Type Description
destination vec3f
api/behavior_tree_data_location.txt · Last modified: 2022/12/02 14:09 (external edit)