Does this work?

DrGlickertDrGlickert Member Posts: 1,135
edited November -1 in Working with GS (Mac)
If I want to start a scene with an object that has the two following behaviors:

1) Change attribute: BallColor To: Random(1,6).
2) Destroy Actor

I want to start the level with a random number but don't want it to keep randomly generating. Does this make sense? And, more importantly, does this work?

Comments

  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    If your change attribute is only behavior in the object, or is outside of any rules, it will only be executed once each time the scene loads.

    If you only want to randomize once every user session, nest in a rule that checks for BallColor > 0.

    Either way, no need for the destroy.
Sign In or Register to comment.