player ship and onDamage

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

Please tell me this isn't true but I can't seem to get onDamage to work.
Is it true that onDamage doesn't work for the player ship?
Crying is not a proper retort!
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

ok I found out what is really going on onDamage only activates when your armor is hit not when your shield is hit?

edit:
did some testing and found that it is after onAttacked and before onDamage that resistances are factored in . Would it be possible to know in onAttacked what the damage after resistances would be too?
That would solve the no damage to armor not calling onDamage problem nicely.
Crying is not a proper retort!
Post Reply