One time Action - Please help

borabora Member, PRO Posts: 45
Hello,
how do i can make a one time action (Actor slide in and out) if one attribute reach or overlaps a number.
Example:
if i made 15.000 Points or overlaps 15.000 Points the Actor must slide in and out. But only one time. If i reach or overlap 50.000 points this actor must do it again.
My problem
I have different Levels and if i reach or overlaps 15.000 Points in one level it works fine - but if i reach the next level the actor
slides in and out again without reaching the next points (50.000)

What can i do?

Thanks for helping

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    What you'll need to do is add an Integer Attribute called Trigger to your game and start it at 0, then do a rule like this:

    When Trigger = 0 and Points is => 15.000

    Do your action and change Trigger to Trigger + 1


    Then in another rule:

    When Trigger = 1 and Points is => 50.000

    Do your action and change Trigger to Trigger + 1


    You could continue this if you needed too....
  • borabora Member, PRO Posts: 45
    Thank you - but can you show me in a pic how do you mean it?
    Because i can´t do that:
    "do a rule like this:
    When Trigger = 0 and Points is => 15.000
    Do your action and change Trigger to Trigger + 1"

    Thank you!!!
  • borabora Member, PRO Posts: 45
    Ok - i think i have understanding ;-)
  • borabora Member, PRO Posts: 45
    How do i can post a pic - how i solved it?
Sign In or Register to comment.