Hi guys,
I’m currently working on a local multiplayer brawler prototype (think Castle Crashers in 3D) and I’m very green on the behaviour tree/AI systems in UE4. So hopefully one of you fine people can help me with some pointers and best practices, maybe a little event graph or 2.
Ideally, I’d like to make a simple AI that does the following:-
- Idle
- Find the closest player
- Attack (with some pausing/repositioning/blocking/etc.)
In the future I’d like to evolve this to something a little more complex:-
- Idle
- Find the closest player
- Move to “stalk” range
- Decide to attack if there are less than 2 AI attacking the current target
- Decide to move to another target if there are 2 AI attacking the current target
- Move to another target if I am stunned/fall out of “stalk” range
Any help will be greatly appreciated. Thanks in advance!
KB