Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/UMLAdapterSession
Description
Resets the action duration flag if it has elapsed. Returns false if not reset yet or the agent is not found. Used with HasActionDurationElapsed by Manager.
| Name | TryResetActionDuration |
| Type | function |
| Header File | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Sessions/MLAdapterSession.h |
| Include Path | #include "Sessions/MLAdapterSession.h" |
| Source | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Private/Sessions/MLAdapterSession.cpp |
bool TryResetActionDuration
(
FMLAdapter::FAgentID AgentID
)