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.

DLL Talk / DarkScript - ambient scripts

Author
Message
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 24th Feb 2008 21:18
So, I was going to make a script that actually ran in the background and edited some things, while the main (DBPro written) engine did most stuff. As far as I know, this is what scripting is supposed to be used for.

However, I can't have a loop in my script code, since that won't let the actual game code run.
Neither can I have a function that I call every turn in my main (DBPro) loop, because that resets all global variables each time the function is called (I've no idea why it does that, since the variable declarations are outside the function I'm calling).

A bit of advice on this would be appreciated

"I kören hörs de brummande busarna Björnligan och Gondolen"

Login to post a reply

Server time is: 2024-11-23 02:44:48
Your offset time is: 2024-11-23 02:44:48