User Tools

Site Tools


add_to_group

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
add_to_group [2020/04/21 22:39]
justin
add_to_group [2021/04/21 18:57]
justin
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["slime01"], "slimes")+add_to_group(entity["slime01"], "slimes");
 </code> </code>
-//Results:// Adds the entity with ID "slime01" to the "slimes" group.+//Results:// Adds the [[entity]] with ID "slime01" to the "slimes" [[groups|group]].
  
 ---- ----
Line 24: Line 24:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:wiki:add_to_group_node.png?nolink|}}+{{:add_to_group_node.png?nolink|}}
 </WRAP> </WRAP>
  
add_to_group.txt · Last modified: 2021/04/21 18:57 by justin