[Solved] Kill self after leaving screen, how this block works?

1MrPaul1

  • *
  • Posts: 1285
I have one counter, that fixing number of created actors, and I need to decrease this value after actors dying. So, i can't do this if an actor killed by block "kill self after leaving screen" because this blocks allows only kill and do not allow to add  other action when actor leaving screen(decrease actors value in my counter in my example). So, how I can make something like this block but with other action, something as ".tell this to... after leaving screen"

« Last Edit: October 06, 2011, 11:18:53 am by 1MrPaul1 »

Alexin

  • *
  • Posts: 3130
Check if the actor is on screen every step ("always" block). If not, do something and kill it.
"Find the fun"
alexin@stencyl.com

1MrPaul1

  • *
  • Posts: 1285
Yes, it's working. Thanks!