package ScoreSaver
{
function GameConnection::OnClientLeaveGame(%Client)
{
DoSave(%Client);
Parent::OnClientLeaveGame(%Client);
warn("Done the save.");
}
function GameConnection::OnClientEnterGame(%Client)
{
Parent::OnClientEnterGame(%Client);
Schedule(500,0,LoadScore,%Client);
Warn("Loaded the save.");
}
};
I packaged it and all that stuff. I have included Parent::OnClientBLAGame but yet it has broken and will not let me spawn inside the game and keeps me at the 'Loading Objects...' bar. I was wondering if it would be to do with where I put the parent.
function GameConnection::OnClientEnterGame(%Client)
{
Schedule(500,0,LoadScore,%Client);
Warn("Loaded the save.");
Parent::OnClientEnterGame(%Client); // this has gone below, would this work?
}
Or do I have to do something which I haven't done before?
I have not really played around with parents yet, so I thought I'd forget it up.