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["chest01"], "open")

Results: Triggers the animation named “open” for the entity with an ID of “chest01”.

Use the Add To Group function to…


Editor Node:

add_to_group.1587520709.txt.gz · Last modified: 2020/04/21 18:58 by justin