FB2TimelineManager
Overview
- Manages timelines (schedule / sequence timelines).
Metadata
| Field | Value |
|---|---|
| Kind | system |
| Environment | B2 - Simulation |
| Category | systems |
| Extends | FB2ManagerBase |
| Require | require('Systems.B2TimelineManager') |
Properties (4)
| Name | Type | Description |
|---|---|---|
EditModeScheduleStateSnapshot | table<FB1EntityId, EB1ScheduleControlState> | |
ScheduleIdGenerator | any | |
bMaintainScheduleWhenNotPlaying | boolean | |
bTimelineEditMode | boolean |
Functions (9)
| Function | Parameters | Returns | Description |
|---|---|---|---|
GenerateScheduleId | - | FB1ScheduleId | Generates Schedule Id. |
GetLastScheduleId | - | FB1ScheduleId | Returns Last Schedule Id. |
IsMaintainScheduleWhenNotPlaying | - | boolean | Returns whether Maintain Schedule When Not Playing. |
IsTimelineEditMode | - | boolean | Returns whether Timeline Edit Mode. |
RefreshChangedScheduleStates | - | - | |
SetMaintainScheduleWhenNotPlaying | bInValue: boolean | - | Sets Maintain Schedule When Not Playing. |
SetScheduleIdCounterValue | InValue: FB1ScheduleId | - | Sets Schedule Id Counter Value. |
SetTimelineEditMode | bSet: boolean | - | Sets Timeline Edit Mode. |
SnapshotHouseholdScheduleStates | InPossessEntityId: FB1EntityId | - |
Override points (3)
Implement these in Lua as FB2TimelineManager.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|---|---|---|
Override_GenerateScheduleId | - | FB1ScheduleId | Generates Schedule Id. |
Override_RefreshChangedScheduleStates | - | - | |
Override_SnapshotHouseholdScheduleStates | InPossessEntityId: FB1EntityId | - |