跳至主內容

搜尋

What logic to use to make level not complete until you collect an item

  • OgTheEnigma

    This is fairly simple. Presuming you have a microchip with a Doorway which sends you to the next level, just add an AND gate in front of that. Now make a Counter with current count of 0 and target count of 1, then connect it to the AND gate. Finally you just need to connect whatever logic you were using to activate the Doorway into the same AND gate (for example, a Trigger Zone). - don't forget to disconnect any wires going into the Doorway, except for the AND gate.

  • Agarwel

    I suppose that once you collect the key, it dissapears form the scene (by destroyer?)
    I would place the tag on it. And then use tag detection to count number of tag sin the scene. It there is 0, then the door could be activated.

登入寫評論。