Skip to main content

Add To Entity Set (Bi-Entity Action Type)

Adds the target entity to one of the actor's apoli:entity_set powers.

Type ID: apoli:add_to_entity_set (the older apoli:add_to_set ID is accepted as an alias)

Fields

FieldTypeDefaultDescription
setIdentifierrequiredThe ID of the entity set power to add the target to.
time_limitIntegeroptionalHow many ticks the target stays in the set. Without it, the target stays until it is removed.

Examples

"bientity_action": {
	"type": "apoli:add_to_entity_set",
	"set": "example:entities_to_exclude"
}

This adds the target to the example:entities_to_exclude power (data/example/powers/entities_to_exclude.json) for good.

"bientity_action": {
	"type": "apoli:add_to_set",
	"set": "example:make_em_glow",
	"time_limit": 200
}

This adds the target to the example:make_em_glow power (data/example/powers/make_em_glow.json) for 10 seconds, after which it is removed again.