Actor values not updating after destroy?
Threepwood
Member Posts: 30
A simple question here.
I have an actor and I use display text to show its self.Position.X every frame. When it's dead I destroy it and an ai manager spawns another actor.
On every subsequent actor, the display text no longer updates and it simply shows the value of the previous actor?
I can't figure this out. Might be something simple but may be a bug in GS? Each actor, destroyed or not, should be a new instance and the display text should just show that new actor instance value.
I have an actor and I use display text to show its self.Position.X every frame. When it's dead I destroy it and an ai manager spawns another actor.
On every subsequent actor, the display text no longer updates and it simply shows the value of the previous actor?
I can't figure this out. Might be something simple but may be a bug in GS? Each actor, destroyed or not, should be a new instance and the display text should just show that new actor instance value.
Comments
This is some of the most basic level debugging you can do and is the equivalent of a printf in C and it doesn't work in GameSalad? I know it's beta, but this is more like pre-alpha issues