[REQUEST] bullet bill that breaks bricks

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

yadigar
Topic author, Passerby
Passerby
yadigar
Topic author, Passerby
Passerby
Reputation: 2
Posts: 3
Joined: 15 May 2021

Post #1by yadigar » 15 May 2021, 16:53

I need a bullet-bill script that breaks bricks when it comes across with one, but it will die when it comes across with a block rather than bricks. I appreciate any help!

Victor ManuelMR M
Count
Count
Avatar
Victor ManuelMR M
Count
Count
Age: 21
Reputation: 155
Posts: 241
Joined: 7 Feb 2018

Post #2by Victor ManuelMR » 15 May 2021, 21:05

yadigar wrote:I need a bullet-bill script that breaks bricks when it comes across with one, but it will die when it comes across with a block rather than bricks. I appreciate any help!

Done_Bullet Bill.7z
(1.23 KiB) Downloaded 120 times
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image

fnafan8888888888 M
Count
Count
fnafan8888888888 M
Count
Count
Age: 20
Reputation: 34
Posts: 278
Joined: 30 Jun 2019

Post #3by fnafan8888888888 » 16 May 2021, 2:56

Victor ManuelMR wrote:
Done_Bullet Bill.7z
I noticed that when I do anything during "test level" the script broke up and I have to restart smbx to make it work again(is this a known bug?)

Victor ManuelMR M
Count
Count
Avatar
Victor ManuelMR M
Count
Count
Age: 21
Reputation: 155
Posts: 241
Joined: 7 Feb 2018

Post #4by Victor ManuelMR » 16 May 2021, 3:01

fnafan8888888888 wrote:
Victor ManuelMR wrote:
Done_Bullet Bill.7z
I noticed that when I do anything during "test level" the script broke up and I have to restart smbx to make it work again(is this a known bug?)

This was already in 1.4.2
So I think it's a normal defect.
I will try to solve this problem
Since he still has the interactors activated, even when they die.
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image

yadigar
Topic author, Passerby
Passerby
yadigar
Topic author, Passerby
Passerby
Reputation: 2
Posts: 3
Joined: 15 May 2021

Post #5by yadigar » 16 May 2021, 20:41

Victor ManuelMR wrote:
yadigar wrote:I need a bullet-bill script that breaks bricks when it comes across with one, but it will die when it comes across with a block rather than bricks. I appreciate any help!

Done_Bullet Bill.7z

Thank you!!

Added after 2 minutes 55 seconds:
fnafan8888888888 wrote:
Victor ManuelMR wrote:
Done_Bullet Bill.7z
I noticed that when I do anything during "test level" the script broke up and I have to restart smbx to make it work again(is this a known bug?)

I noticed if I jump on bullet bill and make it die, bug isn't really there, so making an event/script that makes bullet bill die after a point might solve the problem.

fnafan8888888888 M
Count
Count
fnafan8888888888 M
Count
Count
Age: 20
Reputation: 34
Posts: 278
Joined: 30 Jun 2019

Post #6by fnafan8888888888 » 16 May 2021, 23:45

yadigar wrote:I noticed if I jump on bullet bill and make it die, bug isn't really there, so making an event/script that makes bullet bill die after a point might solve the problem.
But the bug is that bullet some times not break blocks while it is alive(sorry but I couldn't understand you well, what do you mean by "after a point"?).

yadigar
Topic author, Passerby
Passerby
yadigar
Topic author, Passerby
Passerby
Reputation: 2
Posts: 3
Joined: 15 May 2021

Post #7by yadigar » 18 May 2021, 22:30

fnafan8888888888 wrote:
yadigar wrote:I noticed if I jump on bullet bill and make it die, bug isn't really there, so making an event/script that makes bullet bill die after a point might solve the problem.
But the bug is that bullet some times not break blocks while it is alive(sorry but I couldn't understand you well, what do you mean by "after a point"?).

Yeah you are right about bullet not breaking blocks sometimes and I thought as long as I stomped on bullet that wouldn't be the case, but it turned out to be wrong because I misunderstood the reason :no: After some experiment I noticed it was less buggy as exemplified in this vid;

https://youtu.be/cj5Z5wYk0SQ

fnafan8888888888 M
Count
Count
fnafan8888888888 M
Count
Count
Age: 20
Reputation: 34
Posts: 278
Joined: 30 Jun 2019

Post #8by fnafan8888888888 » 18 May 2021, 23:41

yadigar wrote:Yeah you are right about bullet not breaking blocks sometimes and I thought as long as I stomped on bullet that wouldn't be the case, but it turned out to be wrong because I misunderstood the reason :no: After some experiment I noticed it was less buggy as exemplified in this vid;

https://youtu.be/cj5Z5wYk0SQ
Yeah, I hope it gets fixed soon.

NESTED ERNEST M
Count
Count
Avatar
NESTED ERNEST M
Count
Count
Reputation: 71
Posts: 268
Joined: 23 Sep 2017
Location: Perú, Lima
Youtube channel URL

Post #9by NESTED ERNEST » 27 Jul 2021, 3:32

I already checked it

Code: Select all

dim i as integer
dim j as integer

with npc(sysval(param1))

 i = itrcreate(11, 0, .x, .y, .width, .height)
 do
 j = itrnext(i)
   
   if j > 0 then
      if block(j).id = 595 or block(j).id = 596 or block(j).id = 597 'Block ID (Exemple: Block-595 | Block-596 | Block-597)
        block(j).state = 2
      end   
   else
      exit do
   end if 
   
 loop
 call berase(0, i) 
 
 end with
Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

Special image
  • yt-image-banner: https://yt3.ggpht.com/M_O1AzQEOJogSq5OJESIaA5kFLdbwdDNMihDOJkJgPiH7cOx-LWK41TU9GWzExmkmpn3EWYbJg=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj
  • image-to-up: https://3.bp.blogspot.com/-Y-LrpIS2rqw/UCBTtk7k-pI/AAAAAAAABBs/qZuI0sCStkc/s1600/jean-baptiste+beaudelle+girafe++escargot.jpg
  • image-to-left: https://us.123rf.com/450wm/trassnick/trassnick2007/trassnick200700002/152919781-el-marl%C3%ADn-negro-grande-salta-del-mar-pesca-extrema-del-pez-espada-negro-en-alta-mar-vacaciones-en-lo.jpg
  • image-last-w: 1


ROCKMAN GIF IN SMBX 38A

Image


Return to “Script requests”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest