Jump to content

Override Event Handlers


Recommended Posts

I'd like to change what happens to a character (any character) when they die. Basically, I want to override the event handler for death. I know how to add event handlers, but I don't know how to override them.

 

Thanks!

Link to comment
Share on other sites

Death is a special occurance, the game partially handles it outside of Lua (and as such the moddable code) I think. You may be able to prevent the "You Died!" screen by simply registering a resurrector (as seen in the corresponding components).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...