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

Player follower problem

Archive: 5 posts


I made a sackboy AK47 rifle thats controlled by the nearest player but I have a problem. When I use it with more then one player it sometimes leaves one player and goes to the other.

Any idea howto solve this?

Thanks
2012-01-02 06:06:00

Author:
XxHAMADEHxX
Posts: 113


The only thing I can think of is to make it follow a tag and shove the players inside sackbots with tags when the spawn. That's probably the simplest way to fix this.2012-01-02 07:18:00

Author:
Speedynutty68
Posts: 1614


The follower tool is fundamentally flawed. LBP2 doesn't seem to assign an enduring identification tag to players, which makes follower logic almost impossible to implement effectively in a multiplayer set-up.

Unless, like Speedy said, you use sackbots with unique tags of course.
2012-01-02 11:53:00

Author:
Ungreth
Posts: 2130


There's a ton of extra logic you'll need to make, but the only solution is assigning each player to controllable sackbots from the start.2012-01-02 12:11:00

Author:
SnipySev
Posts: 2452


Tutorial on how to make a Nearest Player Controlinator work more like you expect it to work, in my signature.2012-01-02 15:12:00

Author:
Antikris
Posts: 1340


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.