View Full Version : Invincibility
Praethus
09-14-2007, 04:46 PM
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?
DarkDragon
09-14-2007, 05:08 PM
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.
Praethus
09-14-2007, 05:31 PM
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.