Script API - v1.26.0.25
    Preparing search index...

    Interface EntityHurtBeforeEventOptionsBeta

    Advertisement

    Contains optional parameters for registering an entity hurt before event.

    interface EntityHurtBeforeEventOptions {
        allowedDamageCauses?: EntityDamageCause[];
        entityFilter?: EntityFilter;
    }
    Index

    Properties

    allowedDamageCauses?: EntityDamageCause[]

    If this value is set, this event will only fire for damage causes that match.

    entityFilter?: EntityFilter

    If this value is set, this event will only fire for entities that match.

    Advertisement