This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "GameMode"

Jump to navigation Jump to search
302 bytes added ,  19:51, 10 July 2006
m
Additional comments
imported>JOG
(Moved to "Category: Blocktypes")
imported>Wz
m (Additional comments)
Line 10: Line 10:


begin GameMode
begin GameMode
; Has the timer been set up already?
if init == 0  
if init == 0  
;set the timer value
 
;set the timer value, count down 25 seconds
set timer to 25
set timer to 25
;Make sure we only set up the timer once!
set init to 1
set init to 1
;Add whatever you want to start at the beginning of the timer here
...
;The timer was set up already, lets count down!
else
else
; We still have some time left...
if timer > 0
if timer > 0
set timer to timer - getSecondsPassed
set timer to timer - getSecondsPassed
; ... or no, the time is up!
else
else
;code to execute after 25 seconds
;code to execute after 25 seconds
Anonymous user

Navigation menu