The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: Fixer on January 12, 2019, 06:43:59 pm

Title: Retarded Trigger
Post by: Fixer on January 12, 2019, 06:43:59 pm
I am getting now an error saying "parent in retarded trigger has beed destroyed"
It's not a game breaking bug but i would like to fix it but this one i have no clue how to do it, someone know how to?

Here is the code from where the error is coming from:

Spoiler, click to toggle visibilty
Title: Re: Retarded Trigger
Post by: Infinite Daze on January 12, 2019, 10:21:14 pm
I've ran into similar problems with helpers in the past.
Spoiler, click to toggle visibilty
Title: Re: Retarded Trigger
Post by: inktrebuchet on January 12, 2019, 10:24:56 pm
That message is from a trigger that uses a parent redirect after the parent has already been destroyed.

If changing the code order doesn’t work you could try this:

The parent must be a helper for that to happen, so if you know that helpers ID(the parent) you could use numhelper(????) != 0 in [State 7031:   VelSet]. This way it only looks to the parent if the parent exists.

And adding numhelper(????) = 0 as the first trigger in the destroyself and setting the others to trigger2. You really shouldn’t need the second trigger though.

Title: Re: Retarded Trigger
Post by: Fixer on January 13, 2019, 02:11:58 am
Thank you guys, i am definitely going to try this, thanks for the hint Infinite Intel.