Navigation
API > API/Plugins > API/Plugins/MassSmartObjects > API/Plugins/MassSmartObjects/FMassSmartObjectHandler
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectHandler.h |
| Include | #include "MassSmartObjectHandler.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Private/MassSmartObjectHandler.cpp |
bool StartUsingSmartObject
(
const FMassEntityHandle Entity,
FMassSmartObjectUserFragment & User,
const FSmartObjectClaimHandle ClaimHandle
) const
Remarks
Activates the mass gameplay behavior associated to the previously claimed smart object. Whether the slot has been successfully claimed or not
Parameters
| Name | Description |
|---|---|
| Entity | MassEntity associated to the user fragment |
| User | Fragment of the user claiming |
| ClaimHandle | claimed smart object slot to use. |
| Transform | Fragment holding the transform of the user claiming |