status.zh
Overview
Creator:
Alucard648
Updated: 20 Nov 2023
Tags:
FFC,
Item,
Library
Downloads: 49
|
View Script
Download Package (877.67 KB) |
Information
A header for managing status effects applied to Link.
Description Setup Reviews Comments
Requires StdExtra.zh and all it`s dependencies. Or Classic.zh (comes with ZC 2.53).
1. Global script combining: put InitStatusEffects(); inside your Init global script. Put StatusEffectsUpdate1(); and UpdateStatusTimers(); BACK TO BACK inside the main loop of your Active global script, prior to Waitdraw(); If you have a function for handling custom status effect, you can put it between StatusEffectsUpdate1(); and UpdateStatusTimers(); commands.
2. If you don`t want for ststus effects to persist into player`s save file, put ClearStatusEffectsOnReload() before main loop of Active GLobal script.
3. Import and compile the library. It requires StdExtra.zh and all it`s dependencies. Also ZC 2.53.x versions has built-in Classic.zh librarry which contains functions originally existing in stdExtra.zh and used by status.zh
4. Assign item and FFC scripts that come with library to approriate slots, 3 FFC and 3 item scripts total.
P.S. Instructions on adding more status effects as well as handling status effects (i.e. inside enemy scripts) are inside tect file inside downloaded archive.
1. Global script combining: put InitStatusEffects(); inside your Init global script. Put StatusEffectsUpdate1(); and UpdateStatusTimers(); BACK TO BACK inside the main loop of your Active global script, prior to Waitdraw(); If you have a function for handling custom status effect, you can put it between StatusEffectsUpdate1(); and UpdateStatusTimers(); commands.
2. If you don`t want for ststus effects to persist into player`s save file, put ClearStatusEffectsOnReload() before main loop of Active GLobal script.
3. Import and compile the library. It requires StdExtra.zh and all it`s dependencies. Also ZC 2.53.x versions has built-in Classic.zh librarry which contains functions originally existing in stdExtra.zh and used by status.zh
4. Assign item and FFC scripts that come with library to approriate slots, 3 FFC and 3 item scripts total.
P.S. Instructions on adding more status effects as well as handling status effects (i.e. inside enemy scripts) are inside tect file inside downloaded archive.



