User Tools

Site Tools


add_to_group

This is an old revision of the document!


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.1587533958.txt.gz · Last modified: 2020/04/21 22:39 by justin