-
-
Notifications
You must be signed in to change notification settings - Fork 18
Actor Interactable Component
TBA
List of Events in general Interactable Component. Implements IActorInteractable interface events.
Event called once Interactor selects any Interactable. Provides info which Interactable has been selected. Selected Interactable might differ to this one. In such case, this event calls OnInteractorLost and cancels any interaction which might be in progress. This event is called on all Interactables who has Interactor who invoked this event. Has native C++ implementation. Calls OnInteractableSelectedEvent.
Event called once Interactor is found. Provides info which Interactor is found. This event doesn't usually start the interaction, only notifies that this Interactable has found an Interactor. Called by OnInteractorFound.
Event called once Interactor is lost. Provides info which Interactor is lost. This event is usually the first one in chain leading to Interaction Canceled. Called by OnInteractorLost.
Event called once Interaction is completed. Provides information which Interactor caused this event. This event is the last event in chain. Called when Type is Once or after Lifecycles run out. Called from OnInteractionCompleted.
Event called once single Interaction Cycle is completed. Provides information which Interactor caused this event. Might be called multiple times, before 'OnInteractionCompleted' is called. Never called if Type is Once.
Event called once Interaction Starts. That might be from pressing a key or it might happen automatically. Provides information which Interactor caused this event. Called by OnInteractionStarted.
Event called once Interaction Stops. That might be from pressing a key or it might happen automatically. This event is different to Interaction Canceled!
- Stops: Interaction is still active, only not happening
- Cancels: Interaction is not active. Provides information which Interactor caused this event. Called by OnInteractionStopped.
Event called once Interaction is Canceled. This event is called when Interactor is Lost, thus this Interactable cannot proceed with Interaction. Provides information which Interactor caused this event. Called by OnInteractionCanceled.
Event called once Interaction Lifecycles is Completed. Every time Lifecycle is completed, remaining lifecycles are lowered unless interaction is limiteless. Called by OnLifecycleCompleted.
Event called once Interaction Cooldown is Completed and Interactable can be Interacted with again. Untill Cooldown is completed, interactions are disabled. Called by OnCooldownCompleted
Event called once any Interaction Dependency is changed, no matter if removed or added. Provides information which Dependency has been modified. Has no information if Dependency was Added or Removed.