I made something sort of useful.

ACLP15

  • Posts: 23
I made a scene on kill behavior, don't really know if it works. If you try it and it works please let me know.

It would be useful in Megaman style boss fights, or maybe just level based boss fights.

You can download it in Stencyl Forge

Miasmos Games

  • Posts: 878
You haven't said what it's called at all, and you're making it fairly hard for people to help you. If you want help you should make it as easy as possible, it takes literally a couple of minutes to take a photo (there's a button in the bottom right of design mode to get the whole picture) and then post it on here. Also, what is "scene on kill" do you mean "change scene on kill"?

Cupcake Bounce

ACLP15

  • Posts: 23
I apologize let me rectify that.

The Behavior is called Switch Scene on Kill
and below you will see a code for it

Miasmos Games

  • Posts: 878
It doesn't work because you haven't specified an actor.

Cupcake Bounce

ACLP15

  • Posts: 23
I can choose that in the behavior menu so it doesn't stick to one actor only. At least I'm pretty sure I can.

Miasmos Games

  • Posts: 878
I don't quite understand what you mean, I'm sorry. Just try specifying an actor for it. Use an attribute of type "actor" and set this in the behaviour editor for the scene. The event can't check to see if the actor has died if you don't give an actor to check. If you want it to monitor whether a certain type of actor has died, either create a behaviour to be placed on that actor,  or use the "actor of type dies" event, the current event you're using will only monitor one, specific actor.

Cupcake Bounce