[SOLVED] How come this doesn't work?

So, what happens is that I get an actionscript error whenever the player is killed because then the camera has nothing to track. I tried fixing this by adding "if player is alive", but that didn't work, even though it seems like it should. What should I do instead?


« Last Edit: July 29, 2016, 02:57:02 pm by CasualCollision »

JeffreyDriver

  • Posts: 2262
I'd create a global attribute to get the X value of your player character, then use that in place of 'X of Noni 1', then it doesn't matter is the actor is alive or not.

Ah, thanks! I dunno why I didn't think of that. I'm still weirded out why my original method didn't work though. The logic behind it seems sound enough.