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?
player ship and onDamage
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
Crying is not a proper retort!
- Betelgeuse
- 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.
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!