Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Scripting Library

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 2nd Dec 2006 00:51 Edited at: 2nd Dec 2006 00:52
This library isn't a bunch of functions that you put in a script (a text file) which are just loaded in, it's more a tool to help you make those.

Here are the functions (I stole Diggsey's maths parser, muahaha... Thanks )



So, what you have to do it, you start up the library by calling startZScript(), then read a script file, by doing readScript(ScriptName$). You then create the script data, by doing getScriptData().

Now you're script is ready. You can open up your script file in notepad, or whatever you want, and start writing stuff, like this:


The commands obviously dont do anything, but you can read them very easily in DBPro. These are the functions to call to get command data:



Ok. So that's good... now what do you do with it? Well, you can use it anyway you like. You can build your own programming language. You could use it for loading player data, map data, or anything. You could make small plugins for your apps, i.e. after it's release, be able to add different types of objects, etc. etc.

Basically, you might find it usefull, might not. I think I will

Login to post a reply

Server time is: 2024-11-17 12:07:58
Your offset time is: 2024-11-17 12:07:58