The
nPersistServer object can be found under /sys/servers/persist and offers some commands to influence the way how objects are saved. All load/save operations of objects run finally through the persis server. That's all you need to know about it...
- Command Input:
i (SaveLevel)
- Command Output:
v
- Command Description:
- Set the save level which filters commands to be saved. The default save level of 0 will let all commands through, a save level of 1 will only let commands with a level of 1 or greater through.
This is useful for selectively saving a set of object attributes without having to write several save routines (savegames are an example).
- Command Input:
v
- Command Output:
i (SaveLevel)
- Command Description:
- Get the current save level.
- Command Input:
s(SaverClass)
- Command Output:
v
- Command Description:
- Set name of nScriptServer derived class which should be used for saving objects.
- Command Input:
v
- Command Output:
s(SaverClass)
- Command Description:
- Get class name of saver nScriptServer.