Force Weather

Post » Tue Apr 02, 2013 1:21 am

Hey

I was wondering how i can force a certain type of weather to always be on

I want it to always be foggy using this weather - c821e - SkyrimFog

I tried using this kind of script but it's not compiling :x

apprciate any help


---


Scriptname InfectedFog extends ObjectReference

INT PROPERTY numToPlace AUTO


EVENT OnLoad()

RegisterForUpdateGameTime(0.3)


IF(numToPlace == 1)


ELSEIF(numToPlace == 2)


ELSEIF(numToPlace == 3)


ELSEIF(numToPlace == 5)





ENDIF


endEVENT

EVENT OnUpdateGameTime()



IF(numToPlace == 1)


ELSEIF(numToPlace == 2)


ELSEIF(numToPlace == 3)



ELSEIF(numToPlace == 4)



ELSEIF(numToPlace == 5)


GoodWeather.ForceActive()

ENDIF


endEVENT

EVENT onEffectFinish(Actor akTarget, Actor akCaster)


endEVENT

EVENT onDying(Actor AkKiller)

IF(numToPlace == 3)


ENDIF



endEVENT
User avatar
Lloyd Muldowney
 
Posts: 3497
Joined: Wed May 23, 2007 2:08 pm

Return to V - Skyrim