geraldsummer's Profile
I make stuff, some of it's on my youtube channel:
In the dmod I'm working on there are various ticking-counters which need to be running continually.
The method I'm using currently is to spawn(); them in the start-1.c. This then presents the problem of them unloading when the player resumes the game. My solution to this is to then have a launch script attached to screens with savebots on them. This script when loaded will execute a "term" procedure in the ticking scripts with an external(); and then spawn(); them again.
While this method is working, it is somewhat heavy handed and limits what I can do on savescreens.
Also the ticking counter's values are stored in globals.
Edit: Is there a way to check if a script is currently loaded into memory/executing? I had a dig in the dinkc reference and couldn't find anything.
Edit 2:OCD Formatting and grammar
So my question to you is there an easier solution to this?
The method I'm using currently is to spawn(); them in the start-1.c. This then presents the problem of them unloading when the player resumes the game. My solution to this is to then have a launch script attached to screens with savebots on them. This script when loaded will execute a "term" procedure in the ticking scripts with an external(); and then spawn(); them again.
void term (void) { kill_this_task; debug("Tick Killed"); }
While this method is working, it is somewhat heavy handed and limits what I can do on savescreens.
Also the ticking counter's values are stored in globals.
Edit: Is there a way to check if a script is currently loaded into memory/executing? I had a dig in the dinkc reference and couldn't find anything.
Edit 2:OCD Formatting and grammar
So my question to you is there an easier solution to this?
geraldsummer has released 1 file
Title | Category | Avg | Updated |
---|---|---|---|
Teleporting Monsters! - Modular Mob Modification Systems | D-Mod, Development, Source | ![]() | November 17th, 2012 |