Jump to content

Pot Script

Overview
Creator: Ranagus Added: 01 Feb 2016 Tags: Global Downloads: 34
Rating[?]: Rating: 4/5 (1 rating)
View Script Download Example
(850.09 KB)
Information

Description Setup Reviews Comments

1. Get screen_change.zh. Copy the code into a text file, give it the .zh extension, and keep it in
the same directory as zQuest. Make sure import "TheFileName.zh" is at the very beginning of
the file (up there with import "std.zh")
2. Also have int Pots[176]; and int nPots; declared as global variables.
3. Put the following two lines to the main loop of your global script.
ScreenChange_Update();
Pot_Script();
4. Change the constants to suit your needs. Their all described with comments.
5. The global script at the bottom called "reset" is optional. It fixes a very minor bug where if Link
dies and continues in the same room, pots in that room may temporally lose their
breaking properties. Put this script in the onExit: slot.