PDA

View Full Version : Script help



Majora
07-01-2007, 07:52 PM
I want to use Nick's Inventory Mod script, and Dan Furst's Ice Block Script. What I THINK I should do is compile the Ice Block where I want it to affect, and then go to the screen I want the Inventory mod Mod script to activate, but in the Ice Block, add "import (filename of Nick's script).z" to the very top (after comments) and then hit compile. Is this how I am supposed to do it?

C-Dawg
07-01-2007, 08:00 PM
Put all your scripts into the same txt file, call it "Quest.z". Import it into the ZScript buffer. Compile. Select the slots you want to use for the ffc scripts.

DarkDragon
07-01-2007, 10:26 PM
Support for multiple source files isn't very fleshed out at the moment, unfortunately. Ideally you would be able to use


import "invmod.z"
import "iceblock.z" //or whatever

but if they both import std.zh, you will run into redefinition errors.