Animation replays when respawning (solved)
I am trying to create a drowning animation. I have a timeline of the animation. I have a block under the water that is labelled as scenery.
In the player microchip I have an impact sensor set to bump scenery. This is wired to 1 0 Counter which activates the timeline. The end trigger on the timeline is wired to reset the counter and die on the player controller.
This all works, BUT when the player respawns it plays the timeline again and we get into a loop. I dont understand why it is looping.The player is no longer bumping the block, and the counter should be reset so the timeline should be powered off. I have tried adding timers in case the counter wasnt resetting before the player died and that was the problem - but no, it made no difference. The timeline is set to play once so it shouldnt loop anyway.
Solution: Took the code out of the player microchip
-
I have checked and the counter is resetting to 0. It shouldnt therefore be playing the timeline on respawning - so is this a bug?
-
What do you mean by saying “took the code out of the player microchip”? Did you move the animation timeline from the player’s chip to another one?
Please sign in to leave a comment.