Actor with multiple states depending on attribute... help needed!

DigiChainDigiChain Member, PRO Posts: 1,288
edited November -1 in Working with GS (Mac)
Hi, here's my query - I've tried to simplify it a little:

I have a integer attribute - that can be of a value between 1 - 1000.

I then want to have an actor that refers to this attribute, and depending on the value has a few different states it can be in...

eg. If the attribute value is: 2, 34, 91, 100, 101, 267 or 895, then the actors alpha is 1, and its x position is..., and its size is...

But if the attribute value is: 254, 354, 675, 911... then the actors alpha is 1, but the x position is different and so is the size.

(there will be quite a number of these different rules)

But then if none of the rules are met, the alpha will need to be 0.

I thought of creating a number of rules within the actor, and then setting the 'otherwise' option to the 0 alpha - but because all the rules will have the 'otherwise' there will be a conflict.

I also don't want to be using a different actor/image in the scene for each different state because I will end up with a huge amount of images in the scene.

Anyone have an idea how to go about this one?
Sign In or Register to comment.