How to fix my Verse code for UEFN boss AI

Not the Subscribe function, but when you call FollowPlayer inside OnTriggered you should be calling FollowPlayer(Agent) rather than FollowPlayer() since OnTriggered’s Agent is activating the trigger.

(adjusting FollowPlayer to accept an agent as well)

FollowPlayer(Agent: agent):void =

Then within FollowPlayer you can replace

if (PlayerList := GetPlayspace().GetPlayers(), FortCharacter := PlayerList[0].GetFortCharacter[]):

with

if (FortCharacter := Agent.GetFortCharacter[]):
2 Likes