FB2InstinctComponent
Overview
- This component does not Snapshot/Restore, because there is nothing to save: all initially created characters use the same data.
Metadata
| Field | Value |
|---|---|
| Kind | component |
| Environment | B2 - Simulation |
| Category | components |
| Extends | FB2Component |
| Require | require('Components.B2InstinctComponent') |
Properties (1)
| Name | Type | Description |
|---|---|---|
InstinctDataList | any[] |
Functions (5)
| Function | Parameters | Returns | Description |
|---|---|---|---|
AddInstinct | - | - | Adds Instinct. |
ExecuteInstinctEntryTriggered | InCheckType: EB1TraitEntryType | - | |
OnInstinctEventTriggered | InTriggerData: FB1TraitEventData | - | Callback invoked on Instinct Event Triggered. |
PrecheckInstinctEntryTriggered | InCheckType: EB1TraitEntryType, InCompletedBagId: string, InCompletedInteractionId: string | - | Pre-checks the TriggeredBuff condition before an interaction completes. |
ShouldUseScheduler | - | boolean | Returns whether it should Use Scheduler. |
Override points (4)
Implement these in Lua as FB2InstinctComponent.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|---|---|---|
Override_AddInstinct | - | - | Adds Instinct. |
Override_ExecuteInstinctEntryTriggered | InCheckType: EB1TraitEntryType | - | |
Override_OnInstinctEventTriggered | InTriggerData: FB1TraitEventData | - | Callback invoked on Instinct Event Triggered. |
Override_PrecheckInstinctEntryTriggered | InCheckType: EB1TraitEntryType, InCompletedBagId: string, InCompletedInteractionId: string | - | Pre-checks the TriggeredBuff condition before an interaction completes. |