Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Simulating Enemy Damage

0 replies · 1,316 views · Started 08 May 2007

(1) Do we have a way to script Link's projectiles yet? That is, can I script and FFC and have enemies react to touching it just like they react to touching one of Link's weapons? Boomerang, Arrow, Wand, etc.

(2) If not, I'm going to be scripting up some sort of workaround this week. I need to calculate the angle between the enemy and the projectile (or link?) and then bump the enemy along it, flash the enemy's C-set, and reduce the enemy's hit points. I assume death animation is dealt with automatically when the enemy's hit points reach 0?

The same algorithm should work in reverse, allowing Link to "damage" custom bosses made up of FFCs like he does in Link's Awakening.