Spawning an SMB3 Boss Exit

Description: Have idea for a script, but you can't make it? Post it here!
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Spectra
Topic author, Duke
Duke
Avatar
Spectra
Topic author, Duke
Duke
Age: 19
Reputation: 6
Posts: 125
Joined: 30 Jan 2018
Location: The dream star
YouTube

Post #1by Spectra » 17 Apr 2019, 13:55

I'm currently trying to spawn an SMB3 boss exit when a boss dies with this code:

Code: Select all

with npc(Sysval(param1))
   call ncreate(16, .x, .y, 0, 0, 0, 0)
end with


Though, I seem to be getting errors with the 2nd line.
-No interesting comments here-

Dry Bones M
Good citizen
Good citizen
Avatar
Dry Bones M
Good citizen
Good citizen
Age: 18
Reputation: 20
Posts: 27
Joined: 1 Jul 2017
Location: Germany

Post #2by Dry Bones » 30 Apr 2019, 23:03

Can you post a screenshot of the error? I tested the script in SMBX and it spawned infinite ?-orbs at the position the boss (e.g. Boom Boom) each frame as long as it's on the screen. How did you set up the script (NPC Configuration, through Events, etc.)?
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein


My largest Project (to get a better view of the image, click on it (it's too large to be inserted here)):
Spoiler
Image


#RemasterThousandYearDoor

Eri7 M
Viscount
Viscount
Avatar
Eri7 M
Viscount
Viscount
Age: 18
Reputation: 83
Posts: 331
Joined: 19 Dec 2016
Location: Germany , Bonn

Post #3by Eri7 » 11 May 2019, 15:42

Why don't you just use events? It's way easier and what you are trying to do with this script is spawn the orb every frame, what you have to do however is detect if the npc died and then spawn the orb.
Join the discord server about Nova Projects.
Image

Image


Return to “Script requests”