Jump to content

Moosh's NPC Script

Overview
Creator: Moosh Updated: 02 Dec 2021 Tags: FFC Downloads: 358
Rating[?]: Rating: 4.88/5 (15 ratings)
View Script Download Example
(1.55 MB)
Information

Description Setup Reviews Comments

This script was only inspired by Lemmy's version and doesn't have all the features his did. To help you decide which one to use, here's a list of features exclusive to each:

Features exclusive to Lemmy's script:
  • NPCs can be placed off the 16*16 pixel grid and function fine
  • You can make any FFC solid (Although this doesn't mean you can't break through them)
  • NPCs have a nifty overhead effect when you walk behind them
  • NPCs can move about and still be solid
Features exclusive to my script:
  • You can have NPCs appear based on items as well as disappear
  • You can have NPCs run scripts when you talk to them
  • You can have an icon appear above Link's head when you can talk to an NPC
  • You can safely use guard NPCs to block off areas
Update 3/23/2015:
I've hopefully fixed a bug that caused ZC to crash sporadically upon entering the screen. If you still experience crashing after updating the script or any other odd behavior, please send me a PM.

Update 2/26/16:
I've added a small fix to prevent screens that share the same layer screen from carrying over solidity from NPCs onto other screens. Since this could potentially break some people's setups, there's a constant to turn it on or off.

Update 1/13/18:
Added a an argument for FFC script calls on the more complex version of the script and the option to wait for called FFC scripts to finish before resuming.

Update 3/12/19:
Added an exception for the DialogueBranch addon even if NPCSCRIPT_WAITS_UNTIL_SCRIPTS_FINISH is turned off. Added a setting to prevent ItemCheck NPCs from disappearing immediately if you get an item on the same screen.

Update 12/1/21:
Rearranged some stuff in the script. Added checks for Link's current action, as well as better compatibility with flippers and roc's feather.
Update 12/1/21: Rearranged some stuff in the script. Added checks for Link's current action, as well as better compatibility with flippers and roc's feather.