Cannot figure out timers

Post » Tue Sep 27, 2011 11:20 pm

So the basic idea of this script is to lock you into a room turn on jets (steam vents) wait 10 seconds then turn off these vents and unlock the doors i thought it would be simple, i could get get the doors to close but if put the lock function in they close instantly aswell which looks abit unrealistic

so what am i doing wrong? :(

need to put in two timers one for waiting for the doors to close then locking them and one for leaving the jets on for 10 seconds then unlocking the doors




SCN PurgeRoomfloat timerBegin OnTriggerEnter	purgeDoor01.setopenstate 0	purgeDoor02.setopenstate 0		Jet01.enable	Jet02.enable	Jet03.enable	Jet04.enable;Wait 15 seconds			set timer to timer + GetSecondsPassed		if ( timer > 10 )					Jet01.disable					Jet02.disable					Jet03.disable					Jet04.disable								purgeDoor02.setopenstate 1	endifEnd

User avatar
Leilene Nessel
 
Posts: 3428
Joined: Sun Apr 15, 2007 2:11 am

Return to Fallout: New Vegas