The Function is in nwnx_funcs for windows.
The function clears the Turds for all players who are currently offline.
It allows you to simulate the player arriving for the first time in the server.
Eg - player would arrive at start location, as if it was first time.
However, while I know that this would wipe local vars for players, which are technically stored on the module. eg GetLocalInt(oPC,"var_name"); is actually retrieved from the module object, hense why a LocalVar is not stored with players persistently.
I was just wondering if LocalVars stored on objects, such as the module directly (as the targetted entity), would these too be wiped on a turd wipe?
The reason I use ClearTurds is to work around the bug present in the version of nwnx_areas I use, which causes an area blackout when a player logs out, then returns to a generated instanced area.
I theorized that the cause of the blackout was because the minimap data was not being stored properly in the turd for players who visit that area.
This was confirmed, because if I clear the player turds, on ClientExit, the player can then visit the area again, and not be affected by the area blackout effect.
In any case, never mind, I guess I will just have to test it out and find out.