Suggestion: onNPCAppear() event

Description: Official subforum for LunaLua - an extension framework for SMBX Engine Version 1.3 (which a core of SMBX 2.0). Share your creations that require the use of LunaLUA. You may also share info/tutorials on how to use LunaLUA.
Moderator: Moderators

Professor Moriarty
Topic author, Citizen
Citizen
Professor Moriarty
Topic author, Citizen
Citizen
Reputation: 0
Posts: 5
Joined: 2 Dec 2016

Post #1by Professor Moriarty » 2 Dec 2016, 18:47

specifically

onNPCAppear(NPC number) (e.g. onNPCAppear(1) would trigger every time a SMB3 Goomba appears on screen)

onNPCKill already exists and it could make coding simple boss battle changes (such as a LUA version of Murphmario's old Bullet Birdo) and flower power ups much simpler.

alternatively onNPCManifest(NPC number; SameSection boolean) (or however you would put it) so onNPCManifest(1, true) would be if a SMB3 goomba exists in the section a player is currently in, whereas onNPCManifest(30, false) would be if a hammer exists anywhere in the level, for example. Whichever works better.

there are probably 200 holes in this idea but I'm putting it out there anyway.

EDIT: btw, I'm not new, I just lost my old account details

Kevsoft M
Angry developer
Angry developer
Avatar
Kevsoft M
Angry developer
Angry developer
Age: 19
Reputation: 77
Posts: 376
Joined: 26 Apr 2014
Location: Austria

Post #2by Kevsoft » 3 Dec 2016, 20:53

Sugestions can be written at the LunaLua Wistlist
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.start() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬
Image
Wohlstand in interview:
Spoiler
Image

▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬ Signature.end() ▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬

Professor Moriarty
Topic author, Citizen
Citizen
Professor Moriarty
Topic author, Citizen
Citizen
Reputation: 0
Posts: 5
Joined: 2 Dec 2016

Post #3by Professor Moriarty » 4 Dec 2016, 13:45

ok, thanks.


Return to “LunaLua - Extension Framework”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest