I’m trying to figure out how to create custom behavior scripts, even though they are still in Beta. (Also, I don’t see anything on the roadmap for a stable version of the NPC Spawner?)
I want my Guards to attack an Objective Device when it’s in range, after a patrol, for example.
I understand that you can let the AI attack something using a target_info.
(https://dev.epicgames.com/documentation/en-us/uefn/verse-api/fortnitedotcom/ai/target_info) And I do see the target can be an “Entity” instead of an “Agent”. So, I assume this means it can be anything? Is this correct?
The provided example code on the documentation (https://dev.epicgames.com/documentation/en-us/uefn/create-custom-npc-behavior-in-unreal-editor-for-fortnite) only shows how to let the AI walk to different points, but I don’t find example behavior Verse code to make it attack targets.