Behavior module - copying tasks

Jay Bacal 5 months ago in Behavior updated by Marti (Lead Developer) 5 months ago 1

Is there a way to copy and paste behavior tasks with all their actions?

Is there a way to select multiple behavior nodes by dragging the mouse and then copy and paste the multiple nodes to a new tree?



Unity version:
Game Creator version:

Unfortunately, this is not possible. The reason is because each node references a game object with the set of Actions and Conditions. When copying and pasting these, the actions and conditions do not get duplicated, only references. This means that you'll end up with two nodes referencing the same actions.

It's something we're actively looking to solve, but this will most likely require an overhaul of the Behavior module, so we'll post pone this till the next major iteration.