Self Glow
Makes the entity that has the power glow if certain conditions are met.
Type ID: apoli:self_glow
Fields
| Field | Type | Default | Description |
|---|---|---|---|
entity_condition |
Entity Condition | optional | If set, only entities which fulfill this condition will see the entity that has the power glow. |
bientity_condition |
Bi-entity Condition | optional | If set, only entities which fulfill this bi-entity condition in relation to the entity that has the power will see the entity that has the power glow. |
use_teams |
Boolean | true |
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. |
red |
Float | 1.0 | Value by which the red component of the glow will be multiplied. Range: 0 - 1. |
green |
Float | 1.0 | Value by which the green component of the glow will be multiplied. Range: 0 - 1. |
blue |
Float | 1.0 | Value by which the blue component of the glow will be multiplied. Range: 0 - 1. |
Examples
{
"type": "apoli:self_glow",
"use_teams": false,
"red": 0.56862745098,
"green": 0.89019607843,
"blue": 0.65098039215,
"condition": {
"type": "apoli:in_rain"
}
}
This example makes 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.