Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: Doan Sephim on November 12, 2003, 01:30:23 PM

Title: one time actions
Post by: Doan Sephim on November 12, 2003, 01:30:23 PM
i set up a local like:
(local
      FIRSTIMEHERE
)
then i set it to true like:
= FIRSTIMEHERE TRUE

my question is, when i do an action and set it to false, does it "forget" it is false if i leave the room and come back in? in my experience it does, and how do i make it to not change back to true?

thanks!
doan
Title: Re:one time actions
Post by: robingravel on November 12, 2003, 02:10:33 PM
Hi doan sephim

Use global variable unstead local variable.


Robin Gravel
Title: Re:one time actions
Post by: Doan Sephim on November 12, 2003, 02:20:28 PM
thanks a million! works like a charm.

i hope you people can put up with me for all my dummie questions...the person who was gonna program the game im working on is kinda pressed for time, and isnt very enthusiastic about the project...so im put in the very foriegn situation of learning the language (which is fun...but like learning any other language, it is hard work and very frusterating at times).

doan