Jump to content

OnDead script doesn't get called


Thirsty Panther
 Share

Recommended Posts

I'm working on my Summer Games entry and I'm trying to create a "Game Over" screen.

I linked my death script (Game over) to the "OnDeath" output via the flowgraph but it never seems to be called. I placed many System:Print calls but get no output.

 

So I started going thru the FPS script and found that "Hurt" script calls the "Kill" script if the players health is less than zero. The Kill script creates a corpse and takes control of the camera preventing the player from having any more control of the character. It doesn't call the OnDead script.

 

OnDead script is only called from the Hurt script which is not used. Well not by the Leadwerks AI script anyway.

 

Can anyone confirm this for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...