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

How to make something toggle only once?

Archive: 3 posts


http://img.loldepot.com/d93c63b6c49b53124839.png
This is a part of some logic I made for a car crash cutscene, the first part toggles when the player comes near the car, and activates a cutscene.
After the cutscene ends, (the car crashes, activating the tag sensor), the cutscene ends via the XOR switch. However the car is still there and when the player goes near it, another toggle happens, and because of that the XOR switch is enabled and the cutscene happens all over again. I figured that to make it work right, I need to make it so that the toggle part only happens once. How do I do that?
2011-01-26 15:12:00

Author:
Unknown User


I think you are looking for what people normally refer to as a "permanent switch"?

Using a permanent switch the diagram would look something like this:

Player Sensor -> permanent switch -> "actions to happen when the player walks by"

This thread has a good selection of permanent switch options:
https://lbpcentral.lbp-hub.com/index.php?t=43914-How-to-Make-a-Permanent-Switch&highlight=permanent
2011-01-26 15:25:00

Author:
Slaeden-Bob
Posts: 605


Thanks, used the timer trick.2011-01-26 15:35:00

Author:
Unknown User


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.