Having trouble with Clearpipes

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

fryzahh
Goomba
Goomba
Posts: 3
Joined: Sun Mar 29, 2020 8:53 am
Flair: play SMBX!
Pronouns: he/him

Having trouble with Clearpipes

Postby fryzahh » Thu Apr 30, 2020 1:54 pm

I`m making a level right now involving clearpipes but I`m having trouble registering NPCs to them.
I keep getting a debug every time I test the level.

The lunalua code I have up right now: (sorry for small size)

Image

The debug I get:

Image

Can someone please help me fix this?

Eri7
Banned
Posts: 1770
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Good Foundation allows for strong Execution
Contact:

Re: Having trouble with Clearpipes

Postby Eri7 » Thu Apr 30, 2020 2:21 pm

Beta 4 updated the needed code that you need to write to be able to register more NPCs, instead of "local clearpipe = require("blocks/clearpipe")", you have to use

Code: Select all

local clearpipe = require("blocks/ai/clearpipe")

fryzahh
Goomba
Goomba
Posts: 3
Joined: Sun Mar 29, 2020 8:53 am
Flair: play SMBX!
Pronouns: he/him

Re: Having trouble with Clearpipes

Postby fryzahh » Thu Apr 30, 2020 2:28 pm

Alright thanks, I`ll try it to see if it works!

EDIT: It worked! Thanks for the help!

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9860
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Having trouble with Clearpipes

Postby Emral » Thu Apr 30, 2020 2:32 pm

Mhm. This change was in the "HOW TO UPDATE" section of the release blog post. Easy to overlook, probably. Posting it here in case you find something else there that may be helpful to know:
https://codehaus.wohlsoft.ru/blog/2020/ ... to-update/


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari