AiMoveTO unsafe to call from a class?

Hello Folks,

I am currently desgigning a RTS like game, and I’m kinda facing an issue.

I want to use the node AI move to in an blueprint class that is not a character (a class that drive the orders gave to the units). When using the node AI MoveTo instead of a simple Move to Location Or Actor (I need the On Success node so the unit will attack when being in range), no issue it is called perfectly but, upon compiling, UE give me a Warning :

Ai Move To is unsafe to call from blueprint of class “Action Menu” (the class i used to drive the action on the units).

Just wondering if I can keep it that way and ignore the warning or should I find another way to drive my units and avoid the AI nodes. (I don’t like code with warning even when it work ^^)

Ty for your time.

1 Like