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

Detecting Link's Sword

2 replies · 1,371 views · Started 27 October 2006

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?

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.

Hm. That's problematic, because the sword flag doesn't work as it should on moving FFCs. Bugs thwarting me at every turn...