How to trigger a rule only once?

stefdelecstefdelec Member, PRO Posts: 146
edited September 2015 in Working with GS (Mac)

Hi,

I am making a gameword, and I want the letter to spawn according to the letter around. One letter per actor. So I made several rules. But letter are keeping changing after the first time they spawn/appear. How can I be sure that when a letter spawn and a letter is assigned to an actor, it doesn't change afterward.

I think there is something I have not understood with rule and change behavior.
For example:

If x= 0 => change attribute to true,
otherwise change attribute to false.

Let say during the game for a reason, x is changing to another number than 0, it will trigger "otherwise". Am I right?

Basically, I want the rule to be triggered only once, when it appears. And that all. Should I put a boolean "rule triggered"?

Comments

Sign In or Register to comment.