Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to create a rule for certain attribute values?

RasparemRasparem Posts: 6Member, PRO
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?



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

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

  • fmakawafmakawa Posts: 557Member

    @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 Posts: 6Member, PRO

    thanks guys! really helps alot :smile:

Sign In or Register to comment.