The event <OnDamageArmor> will execute even if the target has shields.
Is this intentional?
If we want a script to run in OnDamageArmor only if the target does not have shields, do we have to write that exclusion into the event?
This would have a large impact on the Pteravores in Heretic!
Weapon events
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
When you say, "the target has shields," do you mean "the target has a shield generator installed"? Or do you mean, "the target's shields are still up"?
Thanks for the quick reply
I meant when the shields are still up.
I currently have a workaround to check if the shields are still up in code.
I meant when the shields are still up.
I currently have a workaround to check if the shields are still up in code.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!