Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
Weapon Level Up System
Archive: 3 posts
I have three different levels of weapons for my characters. I want it so that when they come into contact with a certain item, it ranks the weapon up (from 1 to 2, 2 to 3, or for the item to do nothing at 3). But when the player takes damage, I want the level to drop by one (where level 1 obviously can't drop any further). How would I do this? I thought counters would be best, but I'm not sure how to both subtract and add from them. | 2012-09-18 00:07:00 Author: Rainbro Dash Posts: 121 |
The easiest way would be a selector switch. Wire a direction combiner to the input that advances the selector switch. Then wire an impact sensor to the positive side, and wire the damage logic to the negative side. Include an AND gate for each so it doesn't go back around. For example, for the positive side, the AND gate would have the impact sensor, and a NOT gate fed by the last output on the selector switch. Do the same for the other, but with the first output. | 2012-09-18 00:40:00 Author: Brannayen Posts: 438 |
Thank you so much! Works perfect. | 2012-09-18 00:59:00 Author: Rainbro Dash Posts: 121 |
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.