Table of Contents

Class SetEntityOverrideOnDeathIHasEntityGameActionSO

Namespace
ElectricDrill.AstraHealth.GameActions.Actions.WithIHasEntity
Assembly
com.electricdrill.astra-health.Runtime.dll

Assigns (or clears) OverrideOnDeathGameAction on the target entity. Provided as a ScriptableObject for easy assignment in the editor.

Connect to any GameEventListener whose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such as EntityDiedGameEventListener or DamageResolutionGameEventListener.

Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Set Override On Death.
[CreateAssetMenu(fileName = "Set Override On Death Game Action", menuName = "Astra Health/Game Actions/Context: Entity/Set Override On Death")]
public class SetEntityOverrideOnDeathIHasEntityGameActionSO : SetEntityOverrideOnDeathGameActionSO<IHasEntity>, IExecutable<IHasEntity>, ITaggable
Inheritance
object
GameActionBase
GameAction<IHasEntity>
SetEntityOverrideOnDeathIHasEntityGameActionSO
Implements
IExecutable<IHasEntity>
ITaggable
Inherited Members
GameAction<IHasEntity>.Tags
GameAction<IHasEntity>.DisplayName
GameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)
GameAction<IHasEntity>.OnOperationCanceled()