Fallout0gig Posted August 18 Share Posted August 18 I'm currently working on a personal alternate death/hardcore mod and want to create punishments for the two types of deaths players can experience: on-foot death and playership death. Does anyone know how to check the hull health of the player's ship? I can't seem to find this stat like I can with the player's health. Additionally, does anyone know what actually triggers the ship to break apart and explode? Is it possible to trigger those animations? Thanks. Link to comment Share on other sites More sharing options...
HeyYou Posted September 1 Share Posted September 1 I would think it would be based on Hull health..... once hull gets to zero, BOOM! Link to comment Share on other sites More sharing options...
RbtRvltin Posted October 13 Share Posted October 13 It's just Health [AVIF:000002D4]. You have to call GetValue() on a SpaceshipReference to access it in papyrus just as you would with an Actor. This returns the % health remaining on your ship (you could call it on other ships, of course.) Scriptname ShipHealthScript extends Quest ActorValue Property Health Mandatory Const Auto ReferenceAlias property PlayerShip Auto Const Mandatory float Function CheckPlayerShipHealth() float health = PlayerShip.GetBaseValue(Health) / PlayerShip.GetValue(Health) return health EndFunction Link to comment Share on other sites More sharing options...
Recommended Posts