a 1000000$ question
How to spawn main actor after his death in 9.6?
when actor is spawned at the start of game it turns attribute actoronscreen to 1, when he dies it turns actoronscreen to 0.
the rule is : when lives>0 and actoronscreen=0 spawn actor
it's simple, obvious and it always works , but it doesn't work in 9.6 !!!
Any ideas ?
to prevent answers like check you code or logic, everything was checked 10 times , each attribute changes correctly but no actor is spawned .And it worked in all previous versions of GS.
when actor is spawned at the start of game it turns attribute actoronscreen to 1, when he dies it turns actoronscreen to 0.
the rule is : when lives>0 and actoronscreen=0 spawn actor
it's simple, obvious and it always works , but it doesn't work in 9.6 !!!
Any ideas ?
to prevent answers like check you code or logic, everything was checked 10 times , each attribute changes correctly but no actor is spawned .And it worked in all previous versions of GS.
Comments
try this:
rule- when lives >0 and actorscreen=0
-timer after.2 seconds run to completion checked
-- spawn actor
with each update the creator gets better and faster, so things will fire differently then before. For example it seems yo ur case is the spawn is happening as soon as the attribute is turning to 0, so it could be spawnign before the change is finished. Hence the timer i told yhou to try
You just win 1000000$, i will send you a check:)