Jump to content
johnnyboy

How to determine damage level that triggers respawn per mission.

Recommended Posts

When running a mission that has respawn enabled, I circumvent respawn (prevent it) via a handle damage event handler that prevents player team units from ever having damage greater than amount of damage that triggers respawn.  For Escape and Combat Patrol, .42 damage triggers respawn, so I never allow units to have >.41 damage (unless truly killed) and instead set them unconscious and run my AI revive scripts where AI buddies can revive the downed unit. 

 

How can I detect if a random workshop mission is using revive with this .42 threshold for triggering respawn?  I want to detect this condition and apply same handling for these missions so when running SOG AI revive is never triggered.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×