Skip to content

Interactable Dependencies

Dominik Pavlíček edited this page Oct 27, 2022 · 1 revision

Interactable Dependencies are a way to manage other Interactables within the same Actor according to the Master Interactable.

Interactable Dependencies are processed by the following logic:

case Interactable State = Suppressed:
	Dependency->SetState(Suppressed)
case Interactable State = Disabled:
case Interactable State = Awake:
case Interactable State = Asleep:
	Dependency->SetState(InteractableState)
case Interactable State = Cooldown:
case Interactable State = Completed:
	Dependency->SetState(EIS_Awake)
	RemoveInteractionDependency(Dependency)