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 revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
add_to_group [2020/04/21 22:39] justinadd_to_group [2020/07/23 09:18] 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:====
Line 17: Line 17:
 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