wektis Posted December 1, 2011 Author Share Posted December 1, 2011 :biggrin: Finally found a snippet on the Bethesda forums that is working for me, still have no idea why my previous tries didn't work. SCN HAWTimerTestScript short DoOnce Float nDeliveryDay Begin GameMode If DoOnce == 0 Set DoOnce to 1 Set nDeliveryDay to GameDaysPassed EndIf If GameDaysPassed >= (nDeliveryDay + 1) && DoOnce == 1 Set DoOnce to 2 ShowMessage HAWTimeTestMesg EndIfEnd Wek Link to comment Share on other sites More sharing options...
seularts Posted December 1, 2011 Share Posted December 1, 2011 Ok, this is what worked for me in the end: scn CTActivateAllHangarLightsScript01 ref light ref seclight float timer BEGIN OnTriggerEnter Player set light to CTHangarLightsRef set seclight to CTHangarLightsRefA if light.GetDisabled light.Enable PlaySound QSTEndPowerUpTurbine set timer to 5 endif endif END BEGIN GameMode if ( timer >0 ) set timer to timer - getSecondsPassed else if seclight.GetDisabled seclight.Enable PlaySound OBJSwitchLights2D endif endif END I didn't know I can use two BEGIN statements in the same script. Link to comment Share on other sites More sharing options...
wektis Posted December 1, 2011 Author Share Posted December 1, 2011 I only just realised that myself a day or two ago >< Yay for scripts based on time haha Link to comment Share on other sites More sharing options...
davidlallen Posted December 1, 2011 Share Posted December 1, 2011 (edited) (failed to read to end of thread, solution already found) Edited December 1, 2011 by davidlallen Link to comment Share on other sites More sharing options...
Recommended Posts