So, yesterday i was bored and played arround with the functions GetTileExplored & SetTileExplored so i am justly simply sharing it here.
Script is supposed to run for the Events "Area OnEnter/OnExit" and "Module OnPlayerRest". So it saves the minimap vision/fogofwar state of the current area to the bio db on every area enter/exit and player rest.
Take/use it at your own risk because it was just a quick test, didn't really run an super hard test cycle with it.
I don't know if anyone else is using this code, but your snippet above was enough for me (a total NWN scripting newbie) to implement on our test server. We'll shake it a little to see if we have any problems before moving to the live server, but wanted to share that I am thankful for this quality of life improvement!
Comments
I removed a few extraneous braces and made the layout of a few of the lines consistent with the rest of the code.
TR