[RESOLVED] AI Client does not move

Thanks for the support man.

Ok for the TickEvent, I could change the stimuli of the player from ON to OFF and viceversa when it needs, avoiding the the TickLogic for invisibility.

By the way, all the rest of you answer is not useful. I mean, the LasrPlayerSeen variable is not used in the Behaviour Tree, but just on the AI Controller BP in order to check the invisibility or distance from the enemy. And I make note you that when the condition is false, the LastPlayerSeen is set EMPTY.

I wanna say you that I also tried the logic using the check “SuccessfullySensed”, but nothing changed. So in other words, the problem is not that logic, but it the online AI system of sure.

I read about making run the AI Tree on server with own RPC because client isn’t able to set the BlackBoard variables. Do you know a debug function to see if variables on BB changes on client?

EDIT: The enemy set TRUE when Client is near. But it stops and doesn’t move. In me AI TREE, when PlayerFind? is TRUE, ai use SimpleMoveToLocation:

I saw this code on a famous video about AI on YT. But how does exactly know about the player location?? In my opinion is here the problem, this logic isn’t able to assign a right value tu TargetPlayer (which is the location of the player find ). But on server it works, on client not

EDIT 2: problem found! The location of the player found does not change when client player is near

1 Like