Documentation

Learn how to use NodeCanvas

Download PDF Version

The "Self" Parameter

By default, a Task will execute for the the same agentĀ as the one that the behaviour is executed for, or in other words the game object that the GraphOwner is attached to. You are though able to override this through the task inspector and instead specify another agent for this task to work with. You have two options when overriding the agent.

  • Assign a reference directly.
  • Select a Blackboard variable, either of the type required or of GameObject type.

TaskSelfParameter

On the task inspector, the type in the parenthesis state the type that the agent needs to have in order for the task to work correctly and without errors. If that type of component does not exist on the current agent, it will show in red.

Yes No Suggest edit
8 of 9 users found this section helpful
Suggest Edit