Parameter in BT Task

hello, so just say i wanted to set a property in my BT Task, just an AActor property. i already set it like we always do (using UPROPERTY, make it public, set the modifier to EditAnywhere). the property i shown in the BTTask. but unfortunately i can’t select the object from the world. anyone can help me. or explain why i can’t do that???
thx a lot!!! jejeje

You can’t do that. BT assets are world-agnostic meaning they’re not instantiated in any world, so you can’t have it reference actors in a specific level. How would that behavior tree behave if it was run on a different level?

You have to use Blackboard and other runtime-queryable sources (like getting that info from actor BT is running for).

Cheers,

–mieszko

thx miezko, though i think i was doing something stupid, so i can’t do that. jejeje