How to create an area where only ONE kind of NPC dies upon touching it?

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

GreenMario M
Topic author, Passerby
Passerby
Avatar
GreenMario M
Topic author, Passerby
Passerby
Age: 17
Reputation: 2
Posts: 4
Joined: 24 May 2017

Post #1by GreenMario » 20 Jul 2017, 19:27

An area where,for example, Koopas die upon entering but goombas no.
Playing:
Paper Mario the Thousand year-door (for the 4th time,this game is so awesome)
Smash Bros 4(I main Dr. Mario :) )
Smbx(Creating levels)
Currently...: Ashley Song: "I don't have as many friends as you" how do you ever get a negative number of friends? :cry:

NESTED ERNEST M
Duke
Duke
Avatar
NESTED ERNEST M
Duke
Duke
Reputation: 9
Posts: 100
Joined: 23 Sep 2017
Location: Perú, Lima
Website

Post #2by NESTED ERNEST » 7 Oct 2017, 3:08

Make the grid appear and with F11 see the coordinates

script

do
call NKill (-1, coordinate x, coordinate y, width, height, id, 1, 1)
call sleep(3)
loop

id = 1,2,27 or 89 is a goomba
Programming NPCs in SMBX-38A is fun.
Image


Return to “Script requests”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests