GetHealthPercentage not working right.

Post » Mon Jan 20, 2014 4:00 am

This should call out to the combat target if its health is below 10% but its seems to work in the opposite direction. I've tried >= but it dose not work at all. I am so confused.

This is the last thing I can think of to use disintegration outside of on critical hit on death

ref CombatTargetBegin GameMode    If player.GetEquipped Weapzippymoujor && player.IsInCombat        set CombatTarget to player.GetCombatTarget        If CombatTarget.GetHealthPercentage <= 0.10            CombatTarget.CIOS AlienDisintegrationFXSpell            CombatTarget.kill             Endif EndifEnd
User avatar
Leonie Connor
 
Posts: 3434
Joined: Mon Mar 12, 2007 4:18 pm

Return to Fallout: New Vegas