REDNODE / GAME API

HealthConsumable

classscriptedClass

extends gameCpoPickableItem › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 4

NameTypeFlags
disappearAfterEquipBoolscriptedprivate
interactionComponentref<InteractionComponent>scriptedprivate
meshComponentref<MeshComponent>scriptedprivate
respawnTimeFloatscriptedprivate

Methods 5

protected cb func OnGameAttached() -> Boolscripted
protected cb func OnInteractionChoiceEvent(evt: ref<InteractionChoiceEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnTurnOn(evt: ref<RespawnHealthConsumable>) -> Boolscripted