How to create a rule for certain attribute values?

RasparemRasparem Member, PRO Posts: 6
edited August 2017 in Help Wanted

Hello, can someone help please, if an attribute equals any numbers between 1 to 35 it will do something. how do I do that?

thanks!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • fmakawafmakawa Member Posts: 565

    @Rasparem try reading the cookbook and watching a few tutorials on YouTube to familiarise yourself with GS as system and how it works. It'll make your enquiries better targeted. Secondly, before you ask the forum try searching for the solution in the forums. A lot of questions asked already have answers just be careful with responses older than 3 years and some things have moved on a lot since then.

    As to your question.
    place a rule in the actor, in the conditions/attributes area create 2 attributes. In the if section for both input your scene/game/actor attribute in which the integer is stored and then place the appropriate values and the changed signs ie =/</> etc that correspond to that value. Change rule action to 'All' from the default 'Any'. Lastly, in the 'do' section place the action you wish to perform.

    Again, please watch some introductory videos. They'll help you a lot. An enquiry like this one or you other one rarely get responses.

  • RasparemRasparem Member, PRO Posts: 6

    thanks guys! really helps alot :smile:

Sign In or Register to comment.