YesNoOk
avatar

Retarded Trigger (Read 400 times)

Started by Fixer, January 12, 2019, 06:43:59 pm
Share this topic:
Retarded Trigger
New #1  January 12, 2019, 06:43:59 pm
  • avatar
  • **
  • The Eye of Perfection
    • Brazil
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
Last Edit: January 16, 2019, 08:13:58 am by Fixer
Re: Retarded Trigger
#2  January 12, 2019, 10:21:14 pm
  • ****
    • USA
    • Skype - dainfinite
    • infiniteff.forumotion.com/
I've ran into similar problems with helpers in the past.
Spoiler, click to toggle visibilty

ink

Re: Retarded Trigger
#3  January 12, 2019, 10:24:56 pm
  • ****
  • inktrebuchet
    • USA
    • s236.photobucket.com/albums/ff271/inktrebuchet/?
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.

Last Edit: January 12, 2019, 11:35:35 pm by ink
Re: Retarded Trigger
#4  January 13, 2019, 02:11:58 am
  • avatar
  • **
  • The Eye of Perfection
    • Brazil
Thank you guys, i am definitely going to try this, thanks for the hint Infinite Intel.