Hope you’re all doing well.
I’ve recently started again on my module after salvaging my old harddrive.
My town is supposed to be impossible to leave because there’s a blizzard raging outside.
I want to make a permanent cone of cold effect to illustrate this.
I can’t use it (VFX_DUR_CONECOLD_HEAD) because it’s not added to the constants by default.
So what do I do?
Look up the row number in the visual effects 2da.
Use that number instead of a constant - or define a new constant in your script.
It doesn’t quite work the way I would expect…
effect eBlizzard = EffectVisualEffect ( 490 ) ;
object oBlizzard = GetObjectByTag ( “BLIZZARD_1” ) ;
ApplyEffectToObject ( DURATION_TYPE_PERMANENT , eBlizzard, oBlizzard ) ;
I tried the above OnModuleLoad and neither a waypoint or an invisible object as BLIZZARD_1 resulted in any visual effects.
I then tried ApplyEffectAtLocation and changed the duration type to instant and that somehow results in seemingly permanent cone of cold visuals, despite Lexicon stating that VFX_DUR’s need to be applied to objects.
I’m going to play around with it some more.
Thanks again for the help.