Nearby Entities
Compare the amount of nearby entities based on a given condition.
The 'actor' entity is the entity with the power, while the 'target' entity is the entity that is being checked.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
| multiplier | Double | The factor by which the checking hitbox is multiplied by, with the starting value being your player hitbox. | |
| comparison | Comparison | The comparison to use. | |
| compare_to | Integer | The value to compare to. | |
| bientity_condition | BiEntityCondition | null | The condition to check the nearby entities with. |
Example
{
"type": "origins:self_glow",
"use_teams": false,
"red": 1,
"green": 0,
"blue": 0,
"condition": {
"type": "moborigins:nearby_entities",
"multiplier": 3,
"comparison": ">=",
"compare_to": 3,
"bientity_condition": {
"type": "origins:target_condition",
"condition": {
"type": "origins:entity_group",
"group": "undead"
}
}
}
}