Jump to content

Recommended Posts

@Descus, I think (without knowing from where or under what circumstances you want to trigger this) you should attach a listener for "death" to the rabbit prefab.

 

EDIT: Alternatively, TheWorld pushes the following event:

"entity_death", data = { inst = deadthing, cause = cause, afflicter = afflicter }

then simply test for whether data.inst is a rabbit.

Edited by Mobbstar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...