Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Logic Help..
Archive: 3 posts
I'll start by telling you what the goal is: The player must move a block to a designated area to open a door....easy enough, However this area is "gaurded" by a light beam so if the player is standing there the door won't open and they must move out of the way, also as to keep with the theme of what I'm doing with the level the block has to stay in the designated area for 5 seconds before the door will open. Now for the real tricky part should the block get moved (it will by sackbot enemies) the timer the block sets off should reset. Iv'e tried various combinations of timers, and switches and what have you and I'm stumped. | 2011-03-10 03:08:00 Author: Unknown User |
Tag the area the block is supposed to be in. Place a tag sensor and hook it up to a timer. I forget if there is a setting to automatically make the timer reset, so if not copy the tag sensor and invert it. That goes to the reset input. | 2011-03-10 03:18:00 Author: DigiOps Posts: 111 |
Tag the area the block is supposed to be in. Place a tag sensor and hook it up to a timer. I forget if there is a setting to automatically make the timer reset, so if not copy the tag sensor and invert it. That goes to the reset input. To save thermo, you don't have to copy the tag sensor. Just take another wire from the output and plug it into a NOT gate and the NOT gate into the reset of the timer. The rule is that you can take as many wires as you want from the same output, but an input can only have one wire. I'm assuming that you don't want the timer to start unless the player is out of the light. I'm also assuming you're using a player sensor to detect that the player is in the light. If so, then plug the player sensor into a NOT gate, and run the NOT gate into an AND gate. Take your wire from your block sensor, and instead of running it into your timer, run it into this AND gate as well. Then run this AND gate into your timer. You'll also want to run a direct wire from your player sensor into an OR gate, and the OR gate into your timer's reset switch. Run the wire that goes from your other NOT gate into this OR gate as well. So now two conditions have to be met in order for the timer to start. The player must NOT be in the light, and the block must be in the right position. After the timer starts, it will get reset on two conditions - the player moves into the light, or the block is moved out of the correct position. | 2011-03-10 14:38:00 Author: Shanghaidilly Posts: 153 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.