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

Patrol bot logic help.

Archive: 5 posts


I am trying to get a sackbot to patrol to the left pause then patrol to the right and pause. I need the distance of the patrol to be variable, and when you are seen I need the sackbot to chase you and throw ninja stars at you to kill you. I think I can get the chasing, and the killing down, I just need to know how to make him patrol because I suck at this logic crap2011-03-06 23:31:00

Author:
Gutz
Posts: 175


Well i think you have an option on the sackbot that says patrol so he can patrol around. Also I think you can put a player sensor or a follower so when the sackboy get on the range it can start attacking.2011-03-06 23:53:00

Author:
Arnald23
Posts: 1843


Arnald23 is right. You can put your primary behavior as patrol, which will make the sackbot walk back and forth as far as it can in the environment (also depends on your settings for danger, jumping, and switching layers). Use the player sensor to toggle to the hostile or acting behavior to start throwing the stars. (You can nest microchips and other logic on the sackbot's board, so you could just drop the ninja-stars emitter on the same board and have it triggered by the same player sensor).
Good luck - sounds fun.
2011-03-07 00:22:00

Author:
Unknown User


Yeah I can make the sackbot patrol back and forth and around, I want him to patrol to specific points in a specific order and pause at each point, for this test I just need it to patrol left to point 1, pause 2sec, patrol right to point 2, pause 2sec, repeat. In the future I will add points and in and out movement. My second goal is to make the player sensor only face out from the sackbots front side (field of view), so you can sneak up behind or above and knock it out.

How I am trying to do it is to make it follow tags in an order, then pause on each tag, also the sensor thing. Once I have that stuff in place having it chase you and throw ninja stars at you will be easy
2011-03-07 01:39:00

Author:
Gutz
Posts: 175


well you know maybe you can use a timer to trigger WHEN he moves left or right. im not too advanced at the logic thing either :2011-03-07 08:56:00

Author:
Mycougo
Posts: 8


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.