Change attribute not working???
I have a table wordlist with ~ 30 words, and boolean data as to whether the word is a) an animal or b) a colour.
I am trying to make it so that a random word will be chosen from the table, but if the chosen word is not a colour, it will continue choosing random words until a word that is a colour is chosen.
I'm have a global integer attribute selecting a number from 1-30.
I have a global attribute (colour).
I'm constraining the global colour attribute to the boolean (colour) from the table based on the random number chosen.
I have a change attribute rule set to run when the global attribute boolean is false.
I was expecting to only see chosen words to restricted to the colours in my wordlist, but it seems that it is not changing when the word is not a colour. Is there a way around this? or an easier method that someone can recommend?
I am trying to make it so that a random word will be chosen from the table, but if the chosen word is not a colour, it will continue choosing random words until a word that is a colour is chosen.
I'm have a global integer attribute selecting a number from 1-30.
I have a global attribute (colour).
I'm constraining the global colour attribute to the boolean (colour) from the table based on the random number chosen.
I have a change attribute rule set to run when the global attribute boolean is false.
I was expecting to only see chosen words to restricted to the colours in my wordlist, but it seems that it is not changing when the word is not a colour. Is there a way around this? or an easier method that someone can recommend?
Comments