YesNoOk
avatar

Destroyself Problems (Read 2668 times)

Started by G-knux19, September 28, 2020, 12:48:32 am
Share this topic:
Destroyself Problems
#1  September 28, 2020, 12:48:32 am
  • **
    • USA
I having a problem with debugging errors for the harpoon helper.  It's giving me errors when it Destroys its shelf and sometimes it makes clones. 
I don't know what I'm doing wrong to make that error happen.

Here's a video

https://streamable.com/7h12ap

Thanks in Advance

Spoiler, click to toggle visibilty
Last Edit: October 05, 2020, 10:32:30 pm by G-knux19
Re: Destroyself Problems
#2  September 28, 2020, 08:49:37 pm
  • avatar
  • **
    • USA
usually that debug error means your helper is summoning another helper, mmmm can I see maybe the rest of the code? I feel like it may be the hit by or hit override im not sure
Re: Destroyself Problems
#3  September 28, 2020, 09:42:01 pm
  • **
    • USA
usually that debug error means your helper is summoning another helper, mmmm can I see maybe the rest of the code? I feel like it may be the hit by or hit override im not sure

heres the first part of it.

Spoiler, click to toggle visibilty
Re: Destroyself Problems
#4  October 03, 2020, 10:09:40 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
State 130001 please.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Destroyself Problems
#5  October 03, 2020, 11:26:38 pm
  • *****
  • Shame on you!
    • USA
Try putting
[State 200, 4]
type = Destroyself
triggerall = !numhelper(13001)
trigger1 = animtime = 0  ;Change this

You'll want to change your animation, 13000, so that it has a blank frame at the end. Then you'll need to changer the trigger1 to be something like
trigger1 = time >= 70
Try to get a feeling for how long it's going to take and set that as the time.

@Cyanide: He posted 13001, idk where 130001 is called? I'd like to see 1100 and 13004

It's hard to tell if the harpoon going off the screen is causing it, or what.

Also @G-knux19:

;-------------|Harpoon|--------------------------
[State 200,stand]
type = helper
triggerall = numhelper(13001) = 0 ;Always add this type of check so you don't spawn multiples
trigger1 = time = 18
vVv Ryuko718 Updated 10/31/22 vVv
Re: Destroyself Problems
#6  October 04, 2020, 12:56:51 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Oh. First post.

I think the issue might actually be the nothitby/hitby mix. See if you get the same results with a global hitoverride?


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Destroyself Problems
#7  October 04, 2020, 02:20:10 am
  • **
    • USA
Try putting
[State 200, 4]
type = Destroyself
triggerall = !numhelper(13001)
trigger1 = animtime = 0  ;Change this

You'll want to change your animation, 13000, so that it has a blank frame at the end. Then you'll need to changer the trigger1 to be something like
trigger1 = time >= 70
Try to get a feeling for how long it's going to take and set that as the time.

@Cyanide: He posted 13001, idk where 130001 is called? I'd like to see 1100 and 13004

It's hard to tell if the harpoon going off the screen is causing it, or what.

Quote


Also @G-knux19:

;-------------|Harpoon|--------------------------
[State 200,stand]
type = helper
triggerall = numhelper(13001) = 0 ;Always add this type of check so you don't spawn multiples
trigger1 = time = 18

Ok umm heres Stateno 1100 and 13004

Spoiler, click to toggle visibilty
Re: Destroyself Problems
#8  October 05, 2020, 10:32:03 pm
  • **
    • USA
It works now  :)  Thanks a lot, guys, and the cloning problem is fixed too. 
Thank you both again for taking the time to help me out I really appreciate it.

Here's a vid of it working correctly.

https://streamable.com/bffrwn