I need help...again..;(

artfishartfish Member, PRO Posts: 369
edited May 2012 in Working with GS (Mac)
I'm getting frustrated . Shouldn't this work?


http://i45.tinypic.com/1687otc.png

the attributes you can't see are the same.
interpolate alpha works fine.
attributen won't change to 1 when testing.

Seems like GS 101 here but I can't figure out why the hell it's not working...probably right in front of my face but...
In the scene, I have an actor displaying the atpuz2 game attribute and it stays zero when i test the scene.

For the problem actor, when I click it, it interpolates alpha as it should but It won't change the game attribute atpuz2 from 0 to 1 or 1 to 0.

If I turn off rule rule 2, it will change to one. Maybe someone can help me see the obvious I'm missing. Because this is a complicated puzzle with 9 different actors and could really use some advice.

This is in a copied scene I'm using for a template.
Has anyone had issues with copied scenes causing behavior problems in the new scene? just curious if this could be playing a part. I've been figuring out somethings that GS does not like over the last couple of months, maybe this is one of them..

Thanks guys.

Eric

Best Answer

  • EatingMyHatEatingMyHat Posts: 1,246
    edited May 2012 Accepted Answer
    Hi Eric,

    try:

    RULE: If pressed...

    ------ RULE (not +): if atpuz = 1
    ------------ set attributes to ... (what's in rule2)
    ------ otherwise
    ------------ set attributes to ... (what's in rule1)

    otherwise
    ------ empty...

    Cheers,
    GR

Answers

  • EatingMyHatEatingMyHat Member Posts: 1,246
    You should probably keep one 'pressed' rule and add the 'atpuz2' rule inside it. Right now, every press, the first rule will get executed and if 'atpuz2' is 1, the second rule will execute as well. Basically the first rule will always be executed...
  • artfishartfish Member, PRO Posts: 369
    @ EatingMyHat so what you're saying is add +when attribute atpuz2 = 0 to rule 1?
    If so, I tried that and it had no effect.

    BTW- thanks for your help.

    Eric


  • artfishartfish Member, PRO Posts: 369
    @EatingMyHat - Perfect. You have saved the day! Thank you so much, I really mean it.
    Another concept learned and filed away in the depths of my brain, Thanks to you.

    'till next time,

    Eric
Sign In or Register to comment.