Page 1 of 1

slow reacting scripts..??

Posted: Tue Jun 10, 2003 11:25 pm
by ColJack
i've started to figure this scripting thing out, and have made a script for repairing a generator and gettin the lights back on, as well as the map script for the test map..

everything works, it just works slowly sometimes..

what i mean is, i enter the map from another map ( just to make sure it's set up... ) and it is indeed dark..
then o go and repair the generator ( with the help of the hint book to boost my stats for testing.. ) it say's i've repaired it, but the lights sometimes come on right away, other times they can take up to 20 seconds to come on..

( by "lights come on" i mean changing the light level.. )

i know there is a time jump command in there somewhere ( like when reading books, fades to black, then fades back in, advancing the game timer.. ).. would that help.

i think it's something to do with the map_update proceedure.. it only runs every 30 seconds or so..


is there a way to set up a loop in a script that checks a variable once every second??

Posted: Thu Jun 12, 2003 9:51 am
by Ooe
Hmmm...there should be....

Posted: Thu Jun 12, 2003 6:55 pm
by Temaperacl
There is a thread for discussing this in the Fan Fallout Section- No need to split up any discussion that occurs between the two threads.