making multiple of numbers in the expression editor
![developer6810](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
How would you say like for example, you wanted to say this attribute is not equal to 1 through 10 (like including all numbers) and put it all in one expression editor? Thanks.
Best Answer
-
gyroscope I am here.Posts: 6,598
@developer6810
Hi again! You won't need the expression editor for this if it's in a Rule. And you'd manage it this way (although there are other ways, I'm guessing):
Rule: When All conditions are valid:
Attribute YourAtt > 0
Attribute YourAtt < 11
-------empty behaviour space------------
Otherwise
------do your stuff---------
Hope that helps.""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Answers
Interesting idea. However, along with that condition, I also had a few others so I wouldn't be able to put it in the otherwise case. So basically, I have, a condition xxxxx and I want it to be when attribute xxxxx ≠ (440 to 470) --- do behaviors.
Any ideas?
Thanks
That's straightforward enough; if you mean not being able to put stuff in the otherwise section because you'll have more than these conditions, you will still be able to, when all of the other conditions are added, like this:
Rule: When All conditions are valid:
Attribute YourAtt > 0
Attribute YourAtt < 11
Attribute YourAtt > 439
Attribute YourAtt < 471
-------empty behaviour space------------
Otherwise
------do your stuff---------
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Oh yeah I was a little confused. Thanks. I'll let you know if it works