Jump to content

ListenForEvent firing instantly?


Recommended Posts

owner:ListenForEvent("death", handle_death(owner,inst))

this code is called instantly, even though the owner does not die

owner:ListenForEvent("death", handle_death)

this is called on death, but does not have the constructor, so it crashes.

what's going on?

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...