Someone help me !!(In Escape game, how to create behavior...)

satoshiwakatasatoshiwakata Member, PRO Posts: 60
edited November 2015 in Help Wanted

Hi, there!

I create escape game, and now I trying to create escape game.
and, I would like to know about behavior.

As my file,
1. touch key -> 2. disappear the key and appear icon key -> 3. touch the icon key -> 4. change image from icon key to icon key2, and player can open the door.

And....I want to make rule: touch the key icon 2 -> change to key icon1 and player can not open the door.
But, when I make rule that, that rule does not react (please refer to my file, rule "not to use key" in Iconkey actor).

Comments

  • traceur93traceur93 Member Posts: 44

    The rule Icon1 to icon2 are in conflict. In the same time you click the key you active both rule. So the engine switch to icon1-icon2 continuosly and quickly.
    Try with a "Busy" attribute:

    if key = 1 && busy = false

    change Key to 2 and change busy to true.

    Then create a new rule with a timer:

    If busy = true

    Timer: after 0.3s going to false.

    Et voilà

  • satoshiwakatasatoshiwakata Member, PRO Posts: 60

    Thank you!!

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Don't make multiple threads. We can see all the threads.

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

    Yes, please don't make duplicate threads. If you have additional information to add to a thread, you can find it by clicking on the My Discussions link at the top-right of the forums page.

This discussion has been closed.