Anyone see any glaring errors in this script?

Post » Tue May 17, 2011 4:46 am

The script isn't printing to the console like it's supposed to. So, I assume it isn't working.

ScriptName 000TorchBrightnessScriptfloat fQuestDelayTimefloat Brightnessref TorchRefshort Caveshort DoOnceBegin GamemodeSet fQuestDelayTime to 1RunScriptLine "Set Cave to LocationType.Type"if DoOnce == 0PrintC "Brighter Torches Initialized"set DoOnce to 1endifif Cave == 2	Set TorchRef to Player.PlaceAtMe Torch02	TorchRef.Disable	TorchRef.Enable	TorchRef.SetLightRadius 2592 endifEnd

User avatar
Josephine Gowing
 
Posts: 3545
Joined: Fri Jun 30, 2006 12:41 pm

Post » Tue May 17, 2011 12:46 am

I made a few changes, with some help, and it works now.
User avatar
Juan Cerda
 
Posts: 3426
Joined: Thu Jul 12, 2007 8:49 pm


Return to IV - Oblivion