D
Dawn
Guest
I want to add something like exit; in the parent's code so when the conditions are met children with event_inherited() won't run the rest of the code below it. Apparently exit; doesn't work as it only finishes what's inside the contents of event_inherited().
I could just add if statements for each child or just add everything in the parent's code but it feels like it's not the right way to do it. Is there any way to do this?
I could just add if statements for each child or just add everything in the parent's code but it feels like it's not the right way to do it. Is there any way to do this?