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
add_to_group [2020/04/21 22:39]
justin
add_to_group [2020/04/21 22:47] (current)
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]].
  
 ---- ----
add_to_group.txt · Last modified: 2020/04/21 22:47 by justin