Hello everyone,
Quite a simple one I thought, but I can’t seem to make it work, but I’m not that familiar with BT. Maybe there’s a flaw in my logic.
The behaviour of the enemy is as follows :
- If passive, do nothing.
- When awakaned : it will follow a path I made tailored for them. If the path is finished or doesn’t exist for this one, ignore it.
- The enemy will chase the player and attack if in range.
The SECOND part doesn’t work as intended. It only follow the scripted path (that return false if it’s not completed) and never attack when in range of the player.
I thought the parallel nodes was supposed to check both “scripted path” and “attackplayer1” ? I don’t understand why it doesn’t work when the same setup work as intended in the THIRD part of the BT, when the player is being chased.
any ideas ?
