This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
play_group_animation [2017/04/25 12:03] – justin | play_group_animation [2021/04/21 18:38] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Plays an animation for all entities in the specified group. The animation will be triggered for every entity | + | Plays an [[animation]] for all [[entity|entities]] in the specified |
+ | ====Signature: | ||
<code python> | <code python> | ||
play_group_animation(group_name, | play_group_animation(group_name, | ||
Line 9: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |group_name|Group of entities for which to trigger the animation.|[[String]]|Yes| | + | |group_name|[[groups|Group]] of [[entity|entities]] for which to trigger the [[animation]].|[[String]]|Yes| |
- | |animation_name|Name of the animation to play (as defined in the [[Voxel Editor]]).|[[String]]|Yes| | + | |animation_name|Name of the [[animation]] to play (as defined in the [[Voxel Editor]]).|[[String]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
- | play_group_animation(" | + | play_group_animation(" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Play Group Animation** function to ... | + | Use the **Play Group Animation** function to change the appearance of multiple [[tile|tiles]], |
</ | </ | ||
Line 27: | Line 28: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
</ | </ |