Making an NPC disappear at a certain spot?

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
LunarCatUSA
Hoopster
Hoopster
Posts: 105
Joined: Sat Mar 06, 2021 9:56 am
Flair: Soda-Butler

Making an NPC disappear at a certain spot?

Postby LunarCatUSA » Thu Aug 26, 2021 7:18 pm

Image
In this image, I'm trying to make the Boo disappear upon reaching the door on the leftmost side. (Simulate her going through it) Her ID is 109, the Section is 1, and the position of the black background that's supposed to be the door way is x=-179840. I'm using the index and ipairs function but it's not working for me. I just want to make it look like she disappears when reaching it so it gives the player the idea that she went through. Anyone know how I can do this?

Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 2 guests