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

score sensor question

Archive: 3 posts


I have been working on a full profile versus game, and finished a test level.

When the players enter the level a score giver gives them 100 points. Each time a player is killed by whatever the creatinator fires they lose -10 points. Once someone reaches 0 points I have a score sensor set to 0 wired to the scoreboard to end the game.

The problem is as soon as someone loses -10 points the score sensor triggers scoreboard to end it. It does this regardless of whether its input is inverted or not. This doesnt make sense as it should only be triggering once score is reduced to 0, not when they lose 10 taking them from 100 to 90.

Does anyone know what's wrong and how to get it working right?
2011-02-26 00:41:00

Author:
Hana_Kami
Posts: 393


Score sensors detect at least that score or greater, not exactly that score. So a score sensor of 0 will always be true. Instead, make a score sensor for 10 and invert it, and that will be true once the score is below 10.2011-02-26 01:01:00

Author:
Tygers
Posts: 114


Thank you! ^^ That will come in handy.

But I dont think I have to use this method anymore for this particular project. I just discovered that when you kill a player with creatinator in versus you gain 10 points. This is good. I originally thought it would take logic setup to do that. So now I can just set a score sensor to 100 and players can gain points for kills like I envisioned. ^^
2011-02-26 02:14:00

Author:
Hana_Kami
Posts: 393


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.