Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

One Time Switch/Button

Archive: 3 posts


Is there a way to accomplish receiving input once from a user and only generate the desired effect once and never again with only the logic tools? I see it all the time in story levels where a button or switch that requires user input won't work again if you try pressing it again, seems like a much needed skill to have in create mode to avoid unnecessary failures in how the level works. Life could be so much simpler if there were only a disable button after use option.2011-01-27 07:42:00

Author:
Yoda86
Posts: 9


hook the output of the button to a counter, and have the counter limit be 1.
hook the output of the counter to anything you want to trigger from the button.
just make sure no wires are hooked up to the bottom of the counter and you should be good
2011-01-27 07:47:00

Author:
Shhabbazz
Posts: 746


Make a counter with a max of 1. Attach a switch as the input to the counter, and then output the counter to whatever you want to activate once.

When the switch is activated, the counter goes to 1 and is ON. Anything you attach to the counter will receive a single ON signal.
2011-01-27 07:50:00

Author:
bigkurz8
Posts: 60


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.