4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
512 B

scriptName defaultImodAreaTrig extends objectReference
ImageSpaceModifier property iMod auto
{the imod to apply. Default darkens & desaturates}
;ImageSpaceModifier property intro auto
;ImageSpaceModifier property outro auto
EVENT onTriggerEnter(objectReference actronaut)
if actronaut == game.getPlayer()
;intro.apply()
imod.applyCrossFade(2.0)
endif
endEVENT
EVENT onTriggerLeave(objectReference actronaut)
if actronaut == game.getPlayer()
;outro.apply()
;imod.RemoveCrossFade()
endif
endEVENT