- Home /
RAIN AI - same behaviour trees, different values. Possible?
I'm new to RAIN AI and after getting to know it, I want to re-use my behaviour trees on different AIs. Their logic is the same, but the values I want should be different. Here is what I mean:
In the above image, I have a full patrol behaviour tree, but I can only assign 1 value. I want other AIs to reuse the same tree, but patrol different locations.
In this above image, I want my timer to vary.
Do I need custom code to achieve what I want? If so, please walk me through it.
Answer by Wolfdog · Feb 22, 2015 at 02:30 PM
I figured it out. I had to play with the "mind" settings. I had to make a new gameobject in the AI's mind and drag-and-drop my route there. Then instead of saying "patrol_route_1", I just say whatever the variable's name is.
Your answer
Follow this Question
Related Questions
2.5D ai to follow player via waypoints? 0 Answers
Enemy AI things to consider 1 Answer
Enemy AI things to consider 2 Answers
A node in a childnode? 1 Answer
I'm trying to make AI that walks (and faces) towards a waypoint 1 Answer