#Dynamic group grow question

5 messages · Page 1 of 1 (latest)

topaz tree
#

I'm just looking to get pointed in the right direction for what I'd like to do or told it can't be done with dynamic groups and require significant code.

I'm making a typical show last 5 seconds of bossmod timer dynamic text group which grows up and displays the timer with least remaining time at the bottom. The current behavior is to add new texts above those currently displayed and when a text becomes inactive remove it from the bottom and move down all of those above it to fill the gap.

What I'd like to do instead is for text to remain in whatever location it appeared in initially and to not move down to fill the gap.

silent pike
#

If you don't want them to move don't use a dynamic group.

topaz tree
#

I want the dynamic group behavior that makes them grow up rather than overlap.

silent pike
#

but if it keeeps growing up without ever moving down then it'll eventually go off your screen

topaz tree
#

Yes it's a bit more complicated. If I think about the positions in the dynamic group as an array starting at 1 the bottom most position.

Add text1

3
2
1 text1

Add text2

3
2 text2
1 text1

text1 deactivates

3
2 text2
1

Add text3

3
2 text2
1 text3

The goal is to have new texts as close to position 1 as possible, but not to move position once shown.