Self Glow (Power Type)

Makes the entity that has the power glow if certain conditions are met.

Makes the entity that has the power glow if certain conditions are met.

Type ID: apoli:self_glow (alias of apoli:entity_glow with self_glow_target defaulting to true)

!!! note

The power works on any entity, including non-living ones such as projectiles — grant it to an arrow or a custom projectile and the projectile glows.

!!! note

You can use a color picker website and divide the RGB values by 255 to get the values (e.g: ranging from 0.0 to 1.0) to be used for the power type.

!!! caution

The conditions specified in the entity_condition and bientity_condition fields are only evaluated on the client-side, therefore, using any condition types that only work on the server-side will not work.

Fields

FieldTypeDefaultDescription
entity_conditionEntity Condition TypeoptionalIf specified, only entities that fulfill this condition will see the entity that has the power glow.
bientity_conditionBi-entity Condition TypeoptionalIf specified, only entities that fulfill this bi-entity condition in relation to the entity that has the power will see the entity that has the power glow.
use_teamsBooleantrueDetermines whether glowing entities should use their team’s color with their glow. If set to false, the entity will instead use the red, green and blue fields within this power type.
redFloat1.0Value by which the red component of the glow will be multiplied. Range: 0.0 - 1.0.
greenFloat1.0Value by which the green component of the glow will be multiplied. Range: 0.0 - 1.0.
blueFloat1.0Value by which the blue component of the glow will be multiplied. Range: 0.0 - 1.0.

Examples

{
    "type": "apoli:self_glow",
    "use_teams": false,
    "red": 0.56862745098,
    "green": 0.89019607843,
    "blue": 0.65098039215,
    "condition": {
        "type": "apoli:in_rain"
    }
}

This example will make the entity that has the power glow for everyone if the entity in question is in rain.

{
    "type": "apoli:self_glow",
    "bientity_condition": {
        "type": "apoli:can_see"
    },
    "use_teams": false,
    "red": 1.0,
    "green": 0.0,
    "blue": 0.0
}

This example will make the entity that has the power glow for the entity that can see the said entity.