class

MSmartObjectStatics

Visual Scripting's reach into smart objects: claim the nearest free slot for an actor, read where to go, release it. The claim belongs to the actor's backing entity, so the same seat is visible to a behavior tree on that entity.

Module
AINavigation
Header
#include "AINavigation/MSmartObjectStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

Function details

ClaimNearestSmartObject

C++
bool ClaimNearestSmartObject(AActor* user, const std::string& activity, float radius)

ReleaseSmartObject

C++
void ReleaseSmartObject(AActor* user)

HasSmartObject

C++
bool HasSmartObject(AActor* user) const

GetSmartObjectSlotLocation

C++
Vec3 GetSmartObjectSlotLocation(AActor* user) const

GetSmartObjectUseDuration

C++
float GetSmartObjectUseDuration(AActor* user) const

CountFreeSmartObjectSlots

C++
int32_t CountFreeSmartObjectSlots(const Vec3& position, float radius, const std::string& activity) const

ResolveSystem

C++
static FSmartObjectSystem* ResolveSystem()
Generated from AINavigation/MSmartObjectStatics.h via ainavigation.json · Oct 27, 2026Version 1.0.0