Jump to content

Simple 2.55 NPC Script

Overview
Creator: ywkls Updated: 01 Mar 2025 Tags: 2.55, FFC Downloads: 24
Rating[?]: No rating
View Script Download Example
(5.39 MB)
Information

Description Setup Reviews Comments

Place import 'std.zh' at the top of the script file, then the rest of this script. Assign to an ffc and set the attributes.

// d0: String number to be displayed
// d1: Whether the npc vanishes when screen secrets are triggered or appears.
- 0= This npc is permanent and not affected by screen secrets.
- 1= This npc vanishes when secrets are triggered.
- 2= This npc appears when secrets are triggered.
// d2: Which index in the Screen->D array to store information in.
Must be a unique number from 0-7 not used by other scripts.

Each instance of this script must have a signpost combo with the proper setup.
Signpost combo should be set up to read the string from the same index of the Screen->D array as the script.

Example: In the combo wizard for the Signpost, the tab string is set to -15 to use Screen->D[5].
The value of d2 should be set to five.