It's an event.
function ServerEventTargetSO::loadSaveFile(%this, %fileName, %ownership, %loadOffset)
{
%fileName = trim(%fileName);
if(%fileName $= "")
return;
if(striPos(%fileName, ".bls") == -1)
%fileName = %fileName @ ".bls";
if(striPos(%fileName, "/") == -1)
%fileName = "saves/" @ %fileName;
if(!isFile(%fileName))
return;
$loadOffset = %loadOffset;
serverDirectSaveFileLoad(%fileName, 3, "", %ownership);
}
registerOutputEvent(ServerEventTargetSO, "loadSaveFile", "string 200 176" TAB "list Host 0 SavedOwner 1 Public 2" TAB "vector", 0);
Echoes show that all of the values are set correctly. Is there a function I'm supposed to call before serverDirectSaveFileLoad?