So I need to add fog in my game. I made my own fog script after experimenting and this is the best i got
;Artificial Intelligence Script
;Header
desc = fog!
;Triggers
:state=0:state=1
:state=1,plrwithinzone=1:state=2
:state=2:fog=1,fogblue=255,fogred=255,foggreen=255
:state=2:ambience=15,ambienceblue=0,ambiencered=0,ambiencegreen=0
;End of Script
It doesn't do exactly how I am trying to make it do. What I am trying to do is activate fog from a distance. So you cant see up ahead until you get closer to make the static entity visible. still confused? here is an image of what I mean..
On this image you see how in the background, the tree's fade off. I am trying to make a fog script to make this do so...would there be a possible way? Is there something I can fix in my script? please help