event based on certain integers

bluebyu25bluebyu25 Member Posts: 500
edited November -1 in Working with GS (Mac)
How do you code in the expression editor a rule to trigger based off a certain set of integers.

Exmaple: An actor always changing a random integer 1-10.

Actor: Do this when random integer is 1-5. (<---- This is what I don't know how to reference in the expression editor.)
Do this when random integer is 6-10.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    You would make a rule when attirubte is greater then or equal to six, then you would hit the plus sign in that rule to add another condition. Change that new rule to when attribute is less then or equal to 10

    Then the rule will trigger when the attribute is 6 or greater but not more then ten

    cheers
  • bluebyu25bluebyu25 Member Posts: 500
    JohnPapiomitis said:
    You would make a rule when attirubte is greater then or equal to six, then you would hit the plus sign in that rule to add another condition. Change that new rule to when attribute is less then or equal to 10

    Then the rule will trigger when the attribute is 6 or greater but not more then ten

    cheers

    Thanks man I knew I was making it much harder than it was.
Sign In or Register to comment.