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

Invincibility

2 replies · 1,162 views · Started 14 September 2007

Is there currently a script command that would simulate Link being hit by an enemy. Or even better, give him the flashing invincibility he would get from a clock or being hit. If so, how do you control the duration?

I don't think there's a Link invisibility variable implemented yet, so anything you do will have to be a hack. Giving Link a clock object (either directly through Link->Item or spawning a clock on top of him) will make him invincible, but I don't think taking a clock away from him turns off the invincibility; the clock after all is not an equipment item.

If you have a small, finite number of durations you want to use, you can use the above method along with a set of custom clock items, each with a different duration attribute.

Unfortunately, Clocks freeze enemies, and I don't want that. I'll just wait until said variable is implemented. It's fine as is for now.