Align Currency Number in constant distance to actor based on amount. How?

BigDaveBigDave Member Posts: 2,239
edited June 2015 in Working with GS (Mac)

I'm sure some of you have a nice solution for this so here my question.

I have a currency icon and a display text behaviour next to it.
Now i want depending on the amount move the number next so they remain the same distance to the symbol even tough they go above the decimal etc.

Currency<10 = +12 pixels to the actor

Currency>100 = +24 pixel to the actor

Currency>1000= +36 pixels to the actor

Currency>10000= +48 pixel to the actor
etc.

I could do it by making separate behaviour for each with the conditions above but I would prefer an equation that will follow that behaviour endless.

Any idea?

Comments

Sign In or Register to comment.