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

How to make objects/vehicles spawn when you spawn

Archive: 2 posts


I'm making my level and I want to know how to make my vehicles spawn when you spawn.

Does anyone know how?
2011-02-16 20:14:00

Author:
CheezeBo
Posts: 832


Yes. Make your checkpoint on a layer that your vehicle doesn't have immediate access to, like the layer behind where you want your vehicle to spawn or even off to the side somewhere. At the same layer as the checkpoint put a player sensor next to it that only detects players on that plane and set the range just big enough to cover a small area around the checkpoint (works best if you keep the players in an isolated little box). Hook your player sensor up to an emitter that spawns your vehicle and make sure the controllinator on that vehicle is set to auto enter and that the range includes the checkpoint area. If multiple players respawn at the same time the first player has to move out of the area before the next vehicle will spawn unless you get a bit more advanced, like having a moving emitter or multiple emitters (a bit more tricky).2011-02-16 21:50:00

Author:
Osprey71
Posts: 93


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.