Weapon events

Post ideas & suggestions you have pertaining to the game here.
Post Reply
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

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!
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!
george moromisato
Developer
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"?
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

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.
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!
Post Reply