How to use a smart object in c++ 5.1

Figured it out, for anyone trying to do this in the future here are the ancient texts you seek:

Make sure you have all the necessary modules and includes. In 5.2+ it appears there’s a new function MoveAndUseClaimedGameplaySmartObject that works the same, but the only thing you need to do is this:

UAITask_UseGameplayBehaviorSmartObject::UseClaimedGameplayBehaviorSmartObject(Controller, Claim, true)->ReadyForActivation();

The ReadyForActivation() is all that was missing.

2 Likes