Zum Hauptinhalt gehen

Suche

Make 4 Collectable Shapes, and Unlock a Door?

  • Supposer

    I haven't done this kind of thing myself yet. But here's how I'd go about it:

    Create the collectible. Attach a destroyer to it. Add a trigger zone close around it. Hook the "detected" output of the trigger zone to the destroyer. Now, when you walk near to the collectible, it'll disappear.

    But you want to count how many collectibles you've grabbed. So hook the trigger zone into a counter's "increment" input.

    And you want to do something when 4 collectibles have been grabbed. So set the counter's max value to 4. Now, the counter won't ever go beyond 4. And when it's at 4, it'll output a "full" signal.

    You want to open a door when 4 collectibles have been collected. So make an animation/keyframe/destroyer to actually open the way. Then wire the counter's "full" output to power-on the animation/keyframe/destroyer.

    So! When you walk into a collectible, it disappears and is counted. When 4 collectibles are counted, the door is opened.

    Hope this helps ?

  • PumpkinKing333

    Thank you for your help and breaking it down in a very detailed manner. I am excited to attempt this later.

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.