BlackboardSystem
Retrieving the system
Game.GetBlackboardSystem()
GameInstance.GetBlackboardSystem()
How blackboards are registered.
I'm pretty sure they're registered from the native code, which isn't really accessible to us from CET/Redscript. Also, it looks like blackboards' Redscript code is auto-generated on compile-time.
How does this system work?
Methods
Get(definition: ref<BlackboardDefinition>) → ref<IBlackboard>
Returns global blackboard (IBlackboard) for a definition.
GetLocalInstanced(entityID: EntityID, definition: ref<BlackboardDefinition>) → ref<IBlackboard>
Returns a local blackboard for specific entity.
RegisterLocalBlackboard(blackboard: ref<IBlackboard>) → Void
Registers a local blackboard.
RegisterLocalBlackboardForDebugRender(blackboard: ref<IBlackboard>, debugName: String) → Void
Registers a local blackboard for viewing in some kind of debug menu. Unknown which one. ???
Usage example
Last modified: 28 May 2024