Hey guys, hopefully someone can help me out here.
In short, I'm messing with the AI range function to vary with the level of fog intensity present in a given map. Lots of fog = less sight range. I could set this map by map, but I've also made a neat function where fog intensity varies/pulses within a map (i.e. blizzard white out effect, transient fog).
What I need to do is...
1. "Get" the value of fog.
2. Isolate only the intensity portion into a float (I don't care about red, green, blue, and all of the other values associated with "fog").
Any suggestions? Can this be done?
I've been messing around with DP builtin #448 cvar_string but no luck.
Thanks,
Alex