Hi
I think i have found some sort of a bug, can someone confirm please?
The application is supposed to create 1 Blue Circle Object, but it creates 2.
( Application has 3 Conditions and 3 Action )
Printable View
Hi
I think i have found some sort of a bug, can someone confirm please?
The application is supposed to create 1 Blue Circle Object, but it creates 2.
( Application has 3 Conditions and 3 Action )
It's not a bug, just a quirk. When you use the 'destroy' action, it simply marks the object for destruction without removing it (so that you can't reference it after it goes away and cause a crash). After each event loop/frame, objects marked for destruction are fully removed. So, during the rest of the event loop after the destroy action, the object can still be used as any object.
Well is there any way i can
A) 'Instantly' remove an Object from the frame?
or
B ) Count only the Instances wich are not marked for destruction?
...
Will the Instances still be counted if they are inactive or 'too far from the frame'?
...
Thanks for the explanation LB
A. No.
B. If you set a flag when you use destroy on them...then yes. Otherwise no, not without an extension.
Unlabeled. Yes, they will always be counted. Take note that when they are 'too far from the frame' they are 'destroy'ed.