Alright, I'm referring to this script:
http://www.armageddongames.net/forums//thread/99098/
Why do we need the npc pointer? Couldn't we just use only a ffc pointer? I don't get it... 😞
How is it easier to work with an npc than a ffc? Is there something that you cannot do when you're not using a npc pointer? How is it better to use an npc pointer?
FFC's are very easy to control movement wise, but npc's have built-in parameters like HP, damage dealt to Link by touching him, what enemy weapon the npc can use, how much damage the weapon does, etc., that ffc's do not have. The all-purpose custom enemy script linked to above uses ffc's to control pretty much everything, but the npc is used because the script utilizes the game engine to assist with determining when Link is attacking the enemy. If you wanted to only use ffc's, you could, but it would be a pain keeping track of all the lweapons on the screen and determining when the hp of the ffc should decrease. Hope that helped!
Yep that helped a lot. Thank you. 😊