User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
add_to_group [2020/04/21 18:58]
justin created
add_to_group [2021/04/21 18:57] (current)
Line 2: Line 2:
 ---- ----
-Adds the specified entity to a group.+Adds the specified [[entity]] to a [[groups|group]].
 ====Signature:==== ====Signature:====
Line 10: Line 10:
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|entity|Entity that will be added to the group.|[[Entity]]|Yes| +|entity|[[Entity]] that will be added to the [[groups|group]].|[[Entity]]|Yes| 
-|group_name|Name of the group the entity will be added to.|[[String]]|Yes|+|group_name|Name of the [[groups|group]] the [[entity]] will be added to.|[[String]]|Yes|
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-add_to_group(entity["chest01"], "open")+add_to_group(entity["slime01"], "slimes");
 </code> </code>
-//Results:// Triggers the animation named "open" for the entity with an ID of "chest01"+//Results:// Adds the [[entity]] with ID "slime01to the "slimes" [[groups|group]].
- +
-<WRAP center round tip 100%> +
-Use the **Add To Group** function to... +
 ---- ----
Line 28: Line 24:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
 </WRAP> </WRAP>
add_to_group.1587520709.txt.gz · Last modified: 2020/04/21 18:58 by justin