(Request) Beanie death

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

Bigpokemonfan
Topic author, Passerby
Passerby
Bigpokemonfan
Topic author, Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 28 Jun 2017

Post #1by Bigpokemonfan » 29 Jun 2017, 0:49

Hey, guys! I having trouble on how to stomp an enemy that falls down off-screen similar to Bullet Bill. I replaced an SMB1 Goomba with Beanie. Even though it's too small, but it's a work in progress.

Here's the script that I unable to correct below:

Code: Select all

if NKill(index, rx, ry, rw, rh, id, effect, score)
   FXCreate(52, x, -10, sx, sy, f, fs, fc, ng, advset)
end


Spoiler
npc-89.png
npc-89.png (1.03 KiB) Viewed 418 times


effect-52.png
effect-52.png (450 Bytes) Viewed 418 times

Effect-52 is supposed to travel downwards.

Here's the text for more description:
width=14
height=18
gfxheight=22
frames=4
framespeed=8
framestyle=1
score=3
noyoshi=1
nofireball=1
cliffturn=1
script=##Beanie

Slash Chen M
Good citizen
Good citizen
Avatar
Slash Chen M
Good citizen
Good citizen
Reputation: 3
Posts: 29
Joined: 14 Mar 2016
Tencent QQ

Post #2by Slash Chen » 27 Aug 2017, 18:52

Please set your NPC's health to 2, and try this code:
Spoiler
If .health = 1 then
.alive = 0
Call FXCreate(52, .X, .Y-10, 0, 8, 1, 125, 0, 0, 0)
End If

Bigpokemonfan
Topic author, Passerby
Passerby
Bigpokemonfan
Topic author, Passerby
Passerby
Reputation: 0
Posts: 4
Joined: 28 Jun 2017

Post #3by Bigpokemonfan » 24 Oct 2017, 3:30

It didn't work out like I hoped for, so I tried other codes. But then I download NajekK's custom npc folder.

Turns out you forgot to add a code below:

Code: Select all

With npc(sysval(Param1))


Once I test it out, it worked! Thanks for helping me!

EmeraldMaster777 M
Our friend
Our friend
Avatar
EmeraldMaster777 M
Our friend
Our friend
Age: 18
Reputation: 8
Posts: 76
Joined: 3 Dec 2016
Location: Emerald Isle
Website Twitter

Post #4by EmeraldMaster777 » 2 Nov 2017, 2:08

What is the full complete script for this? :(
The Colorful Update: :)

DARK PACK: https://www.dropbox.com/sh/epbffmzwmfrwvza/AADBgoPu9GoWHhJzhJWOMaw9a?dl=0

EXTRAS: https://www.dropbox.com/sh/gi77jvb458wrxbe/AAAEhqooy9xCW_jf9Qo6fm8Oa?dl=0

EXTRAS 2: https://www.dropbox.com/sh/vybp3b9ct7urudm/AAAFEQ3TSOc2JhFmJWv8JTt1a?dl=0

SMW Remastered Alpha 1.0 (Cancelled): https://www.dropbox.com/sh/77yv8chapzt2jog/AAD3tu3ka6u8-x7stbTOKDR0a?dl=0

PK Esper F
Lord
Lord
Avatar
PK Esper F
Lord
Lord
Age: 13
Reputation: 107
Posts: 520
Joined: 22 Aug 2016
Location: The sky
Website Facebook Google+ Twitter

Post #5by PK Esper » 4 Nov 2017, 4:19

EmeraldMaster777 wrote:What is the full complete script for this? :(
the full script is above your post. you could probably test one of them though.
why i hadn't been in this forum for long when i used to be a super active person
avatar is basically baldi from tumblr
Formerly known as RSupertheGreat.
ImageImage
What I support
ImageImageImage
Personality
Yes, I'm a girl. If you guys are thinking I'm a boy.
I hate most people.
I'm a developer (and a beta tester of):
Image
Image
My level/episode playthrough thread: http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185


Return to “Script requests”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests