Skip to main content

FB2DLDSLMManager

Overview

  • Manages Smart Zoi (SLM / inner-thought) reasoning.

Metadata

FieldValue
Kindsystem
EnvironmentB2 - Simulation
Categorysystems
ExtendsFB2ManagerBase
Requirerequire('Systems.B2DLDSLMManager')

Properties (18)

NameTypeDescription
AutonomySLMintegerFor GVar
CollectAutonomySLMinteger
CurrentAutonomySLMCharacterCountinteger
DLD_bIsCollectAutonomyLSMboolean
ExtraViewportZoiListtable<FB1EntityId, boolean>Handles the on-screen Zoi option.
LastSelectedAIModeSelectedAIMode
MaxAutonomySLMCharacterCountInViewportinteger
MaxWaitingQueueCountinteger
NoReasoningZoiListtable<FB1EntityId, boolean>Allows separate requests for idle requests and inner-thought reasoning requests. Replaces the former PlayingJoyList / WaitResponseJoyList.
ReasoningZoiListtable<FB1EntityId, boolean>
SLMActionPredictionUObject
SmartZoiAppliedAreaEB1SmartZoiAppliedArea
SmartZoiRangeInCityEB2SmartZoiRangeInCity
SmartZoiRangeInViewportMaxCountinteger
StartTestTimeFDateTime
TimelineSLMinteger
WorldSmartZoiTagstring
bPlayConsoleClientboolean

Functions (32)

FunctionParametersReturnsDescription
AddWaitResponseZoiInEntityId: FB1EntityId, bReasoning: boolean-Adds Wait Response Zoi.
AutonomyBySLMFinishedInEntityId: FB1EntityId-
CanRequestSLMInEntityId: FB1EntityId, InGroupType: EB1CharacterGroupType, bIsInViewport: boolean, InReasoning: booleanbooleanReturns whether it can Request SLM.
GetAutonomySLM-integerReturns Autonomy SLM.
GetCollectAutonomySLM-integerReturns Collect Autonomy SLM.
GetPlayConsoleClient-booleanReturns Play Console Client.
GetStartTestTime-FDateTimeReturns Start Test Time.
GetTimelineSLM-booleanReturns Timeline SLM.
GetTimelineSLMRequestFolderPath-stringFilePaths
GetType-EB2ManagerTypeReturns Type.
GetWorldSmartZoiTag-stringReturns World Smart Zoi Tag.
IsInSmartZoiRangeInCityInEntityId: FB1EntityIdbooleanReturns whether In Smart Zoi Range In City.
IsModelLoaded-booleanReturns whether Model Loaded.
IsSLMZoiInEntityId: FB1EntityIdbooleanReturns whether the Zoi is currently in SLM reasoning. Previously this meant request + response + interaction finished, but now it means only request + response; the interaction-finished part is tracked as state on the character.
PrepareModel--
Release--
ReplaceNewLineTextInString: string, OutResultString: string-
ResetPossessedCharacterAutonomyState--Resets the currently possessed character's AutonomyState to Invalid. Also used for recovery when SetAutonomySLM was called before Possess and the reset was skipped.
ResponseFinishedInEntityId: FB1EntityId, bReasoning: boolean-
SetAutonomySLMInValue: integer-Sets Autonomy SLM.
SetCollectAutonomyLimitCountInLimitCount: integer-Sets Collect Autonomy Limit Count.
SetCollectAutonomySLMInValue: integer, LimitCount: integer, bCollectOnlyUniqueNpc: boolean-Sets Collect Autonomy SLM.
SetCollectingParamsInLimitCount: integer, InCollectOnlyUniqueNpc: boolean-Sets Collecting Params.
SetMaxAutonomySLMCharacterCountInMaxAutonomySLMCharacterCount: integer-Sets Max Autonomy SLMCharacter Count.
SetMaxAutonomySLMCharacterCountInViewportInMaxAutonomySLMCharacterCountInViewport: integer-Sets Max Autonomy SLMCharacter Count In Viewport.
SetMaxWaitingQueueCountInMaxWaitingQueueCount: integer-Sets Max Waiting Queue Count.
SetModel--Sets Model.
SetPlayConsoleClientbInPlayConsoleClient: boolean-Sets Play Console Client.
SetSLMActionPredictionInObj: UObject-Sets SLMAction Prediction.
SetTimelineSLMInValue: integer-Sets Timeline SLM.
SetWorldSmartZoiTagInWorldSmartZoiTag: string-Sets World Smart Zoi Tag.
ToggleAIModebIsOn: boolean-Toggles AIMode.

Override points (8)

Implement these in Lua as FB2DLDSLMManager.Override_Name = function(...) end.

FunctionParametersReturnsDescription
Override_AddWaitResponseZoiInEntityId: FB1EntityId, bReasoning: boolean-Adds Wait Response Zoi.
Override_AutonomyBySLMFinishedInEntityId: FB1EntityId-
Override_CanRequestSLMInEntityId: FB1EntityId, InGroupType: EB1CharacterGroupType, bIsInViewport: boolean, InReasoning: booleanbooleanReturns whether it can Request SLM.
Override_PrepareModel--
Override_Release--
Override_ResetPossessedCharacterAutonomyState--Resets the currently possessed character's AutonomyState to Invalid. Also used for recovery when SetAutonomySLM was called before Possess and the reset was skipped.
Override_ResponseFinishedInEntityId: FB1EntityId, bReasoning: boolean-
Override_ToggleAIModebIsOn: boolean-Toggles AIMode.