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

making a sackbot preform a recorded action only once?

Archive: 3 posts


forgive me if I'm missing the obvious here, but how can I make it so a sackbot being controlled by a dcs preforms a recorded action each time the player presses, for instance, the square button? I have tried all I can think to do but I can only get him to do either nothing, or repeat the action in a continuous unstoppable loop. Thanks in advance,
Smudge
2011-12-10 18:23:00

Author:
Smudge228
Posts: 533


There is ann option for the acting to loop or play only once, but if you do the only once option I don't think it will happen the next time you press square. I'd suggest giving the sackbot another behavior, idle for instance, and have the sackbot perform its recorded action then switch to the idle behavior. There are probably lots of ways you can do this, I'd use a selector and a timer:
Square button activates selector output 1, which in turn activates the recorded action and a timer set to however long your recorded action is. Keep the recorded action set to loop.
The timer output then activates its own reset and also sets the selector to 2; which in turn activates the idle behavior - or whatever behavior you want when not doing the recorded action.
That's what I'd try anyway, if you'd like more explanation let me know.
2011-12-10 18:35:00

Author:
Pookachoo
Posts: 838


cheers mate, I'll try that when I next get on.2011-12-12 08:02:00

Author:
Smudge228
Posts: 533


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.