PDA

View Full Version : Detecting Link's Sword



C-Dawg
10-27-2006, 01:39 PM
I'd like to script a code snippet that I can add as a new state to FFCs controlling the FFC's behavior when struck by Link's sword. Problem is, I'm not sure how to detect when an FFC occupies the same space as Link's sword or another weapon. Is there a variable for this yet?

Saffith
10-27-2006, 03:17 PM
Nope. The only way I know to do it is to put a sword flag on it and have it check every frame whether its combo has changed.

C-Dawg
10-27-2006, 03:34 PM
Hm. That's problematic, because the sword flag doesn't work as it should on moving FFCs. Bugs thwarting me at every turn...