View Single Post
Old 08-23-10, 10:47 PM   #642
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

was going to just arbitrarily pick a number out of thin air for the max damage that the commander can sustain before all tactics and roles get reset but then I remembered this crew state:

### ======= Ship state-machine: ABANDON ======= ###
strategy StateAbandon(Ship)
{
precond
{
Ship:GetDamage() >= MAX_DAMAGE_STATE_CHANGE
}

there's the magic number: MAX_DAMAGE_STATE_CHANGE (which is 0.9)

So there is what determines when the commander isn't a commander anymore

EDIT:

the work around I did didn't work correctly.....but I did manage to find another one that so far has been working perfectly!

EDIT2:

after multiple tests it's been discovered that any work around doesn't work all the time This is a game breaker

Last edited by TheDarkWraith; 08-24-10 at 01:01 AM.
TheDarkWraith is offline   Reply With Quote