Skip to content

← Previous | Next →


do

Description

Executes a behaviour tree.

Basic information

Name Type Possibilities
do both 1

Parameters

# Name Type Mandatory Description Multiple
1 behaviour BehaviourID Yes The ID of the behaviour tree to execute. No

Outputs

# Description
1 The last node result in the behaviour tree.

Example


  BEHAVIOURTREE 

  name example_behaviour 

  interaction 
    tell "Hi, how are you?" 

  NPC 

  name NPC_1 
  model a_m_m_eastsa_01 
  position -1020.72 4839.78 258.30 0.0 

  interaction 
    do example_behaviour