1
Modification Help / Can I add a datablock mid-server? [SOLVED]
« on: December 11, 2013, 05:05:11 PM »
Is it possible to add a datablock mid-game without having everyone leave/crash?
I was told to do this...
But that doesn't actually download the datablock. Is there a way to force datablock redownloading?
I was told to do this...
Code: [Select]
function allReloadDatablocks()
{
messageAll('',"\c6Reloading datablocks...");
for(%i=0;%i<ClientGroup.getCount();%i++)
{
commandToClient(ClientGroup.getObject(%i),'missionPreparePhase1');
commandToClient(ClientGroup.getObject(%i),'missionStartPhase1');
commandToClient(ClientGroup.getObject(%i),'missionPreparePhase2');
commandToClient(ClientGroup.getObject(%i),'missionStartPhase2');
commandToClient(ClientGroup.getObject(%i),'missionStartPhase3');
}
}
But that doesn't actually download the datablock. Is there a way to force datablock redownloading?