How to use < and > in a single expression

nporimanporima Member, PRO Posts: 27

Hey Guys,
How does one write the expression 'greater than' and 'less than' together in the expression editor? I've tried it and it doesn't work. I'm working on a three star scoring system for my game where 1 star is allocated when the score is less than a low number and 3 stars are allocated when the score is above a high number but got stuck where the score is greater than a low number but less than a high number i.e. the score is between a low number and a high number.

Any advice would be appreciated.

Thanks

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    Accepted Answer

    Hello @nporima You don't use > and < in the expression editor; these are selected in a Rule, for instance,

    When All conditions are valid:
    attribute YourAttribute < SomethingElse 
    attribute YourAttribute > DifferentOne
    

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Answers

Sign In or Register to comment.