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

How do I make my sackbot act, but be inactive until someone walks into it's radius?

Archive: 5 posts


My sackbot is set to act, but he always starts acting before I enter the radius, which is a major problem as the sackbot acting is needed much later into the level. I've tried altering the awareness radius, and linking a player sensor to the behaviour chip as it's input... what am I doing wrong?2011-06-05 13:44:00

Author:
Unknown User


You probably need two behavior chips to make it work as you want.

Try a fresh sackbot set to idle and copy the behavior chip over from the other that has the acting routine in him. Copy the sensor over as well and hook that to the acting behavior chip. Add a NOT and hook the sensor to the NOT and then to the idle behavior chip. The result should be that the sackbot remains idle until the player is in range and as soon as he is out of range, he stops.
2011-06-05 13:54:00

Author:
jwwphotos
Posts: 11383


Adding to this further, if you want the sackbot to to stay on once a player has entered the player sensor radius (even if they then move out of it again) you can do so using a 2 port selector. Hook output port 1 to the idle chip, and output port 2 to the active chip. Then hook the player sensor to input port 2.2011-06-05 14:05:00

Author:
Xaif
Posts: 365


It worked perfectly! Thank you so much!! 2011-06-05 14:12:00

Author:
Unknown User


Man. From the looks of this post it looks like logic really makes level making much more confusing now.2011-06-05 21:29:00

Author:
Unknown User


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.