User Tools

Site Tools


add_to_group

Add To Group


Adds the specified entity to a group.

Signature:

add_to_group(entity, group_name)
ArgumentDescriptionTypeRequired
entityEntity that will be added to the group.EntityYes
group_nameName of the group the entity will be added to.StringYes

Example:

add_to_group(entity["slime01"], "slimes");

Results: Adds the entity with ID “slime01” to the “slimes” group.


Editor Node:

add_to_group.txt · Last modified: 2021/04/21 18:57 by justin