flyinian
Member
Did I get you with the title?
I'm just looking for insight on why my children were acting "weird" for a lack of a better word.
UPDATE:
1. The children within question all have the event_inherited(); at the top of each event.
2. I have other children with the same parent and those work fine.
3. All other code is inherited and works fine while the draw code doesn't want to inherit a specific variable that is used for sub image. Again, this code works fine with other children.
4. if I over ride the code that isn't working within the child, it works as intended.
5. I've cleared the cache.
6. I've been having this problem for a few days now and I've been able to fix it by duplicating a working child and using it to replace the broken child. This can be a hit or miss for it to work. if it doesn't work, I pick a different child that works and repeat the process as mentioned before until it works. This is literally changing nothing but, the object itself..as far as I know.
Prior to this post, I've managed to find a solution/temporary fix to this issue so, I'm not in a need of help but, I'd like to know what may be causing this or if anyone else has experienced this. I'm thinking this may just be one of those things that there is no answer to or it's either a bug of the IDE. Either way, I'm glad I can fix it.
ORIGINAL:
Parent : worked
Child 1 : Worked
Child 2 : Broken
Child 3 : Broken
Child 4 : Worked
Child 5 : Worked
Child 1, 4 & 5 worked fine while child 2 & 3 weren't working properly.
I was having issues with updating a sub image of an instance when arguments were met. This code was placed in the parent and inherited by the children. They all had the inherit code.
After about 2 or so hours I decided to recreate the broken children by duplicating a child that worked.
I initially duplicated child 1 and it wasn't working properly when used as a replacement for child 2. So, I used a different child that worked, duplicated it and renamed it and tested to see if it worked and it did. I repeated the steps for child 3 and it worked. Retested the children and so far the issue I was having has been fixed.
Everything was identical besides a few variables that were used for data retrieval(Different for each child and shouldn't have any effect on the sub image updating. I also copy & pasted variables from the working children into the broken children and didn't change anything.). This includes the object's names. The broken children name's were replaced with something else.
Could someone enlighten me?
I'm just looking for insight on why my children were acting "weird" for a lack of a better word.
UPDATE:
1. The children within question all have the event_inherited(); at the top of each event.
2. I have other children with the same parent and those work fine.
3. All other code is inherited and works fine while the draw code doesn't want to inherit a specific variable that is used for sub image. Again, this code works fine with other children.
4. if I over ride the code that isn't working within the child, it works as intended.
5. I've cleared the cache.
6. I've been having this problem for a few days now and I've been able to fix it by duplicating a working child and using it to replace the broken child. This can be a hit or miss for it to work. if it doesn't work, I pick a different child that works and repeat the process as mentioned before until it works. This is literally changing nothing but, the object itself..as far as I know.
Prior to this post, I've managed to find a solution/temporary fix to this issue so, I'm not in a need of help but, I'd like to know what may be causing this or if anyone else has experienced this. I'm thinking this may just be one of those things that there is no answer to or it's either a bug of the IDE. Either way, I'm glad I can fix it.
ORIGINAL:
Parent : worked
Child 1 : Worked
Child 2 : Broken
Child 3 : Broken
Child 4 : Worked
Child 5 : Worked
Child 1, 4 & 5 worked fine while child 2 & 3 weren't working properly.
I was having issues with updating a sub image of an instance when arguments were met. This code was placed in the parent and inherited by the children. They all had the inherit code.
After about 2 or so hours I decided to recreate the broken children by duplicating a child that worked.
I initially duplicated child 1 and it wasn't working properly when used as a replacement for child 2. So, I used a different child that worked, duplicated it and renamed it and tested to see if it worked and it did. I repeated the steps for child 3 and it worked. Retested the children and so far the issue I was having has been fixed.
Everything was identical besides a few variables that were used for data retrieval(Different for each child and shouldn't have any effect on the sub image updating. I also copy & pasted variables from the working children into the broken children and didn't change anything.). This includes the object's names. The broken children name's were replaced with something else.
Could someone enlighten me?
Last edited: