Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Script help

2 replies · 1,212 views · Started 01 July 2007

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?

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.

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.