HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

storing time of day

02-01-2003, 05:48 AM#1
Sorbitol
alright, the map i'm making involves some inside/outside type stuff (i.e. the hero being able to go into some buildings)

to make it more realistic looking 'inside', i've set it so that upon going 'inside' the time of day switches to 24 and stops, so that its dark.

i want to know if its possible to make it so that when the hero leaves the interior, the time of day will go back to what it was when they entered.

right now, i have it set so that when the hero leaves, the time of day switches to 12, but that's kinda wierd if the hero entered the building at any other time than 12.

i guess if you spent alot of time inside, than the time would have to be a little different leaving than when you entered...

i have a feeling this may be too tricky, but i thought i'd ask anyway.

thanks,emote_confused
02-01-2003, 05:54 AM#2
Trav
Set (Real Variable) = Game Time of Day
02-01-2003, 05:57 AM#3
Sorbitol
hahaha
i can't believe how easy that is...now i feel like an idiot
i had a feeling it had to do with variables though

thanks trav
02-01-2003, 08:13 AM#4
Trav
Np. I know sometimes I have devised some extremely complex deal to accomplish what I want, then notice there is a simple preset already available.
02-01-2003, 11:49 AM#5
Krakou
Instead of using time of day you could also use the fade filter to get the darkness.

So the time could remain unchanged.