Blockland Forums > Modification Help
Loading Events With Serverdirectsavefileload()
Greek2me:
I'm creating a new simgroup, I shouldn't have to place it in one, should I?
Uristqwerty:
You might need to put it within the main brick group. By default, a simobject will be placed in missioncleanup, but all of the regular brickgroups are found in a simgroup within missioncleanup.
Put tree(); in the console while you are hosting, and check for yourself.
Kalphiter:
--- Quote from: Uristqwerty on October 19, 2010, 08:17:35 PM ---You might need to put it within the main brick group. By default, a simobject will be placed in missioncleanup, but all of the regular brickgroups are found in a simgroup within missioncleanup.
Put tree(); in the console while you are hosting, and check for yourself.
--- End quote ---
That's correct.
--- Code: --- %bl_id = getNumKeyID();
MainBrickGroup.add(new simGroup("BrickGroup_NAMEHERE")
{
bl_id = %bl_id;
name = "*******";
client = 0;
});
--- End code ---
Greek2me:
I already tried doing this:
--- Code: --- %bl_id = getNumKeyID();
new simGroup("BrickGroup_NAMEHERE")
{
bl_id = %bl_id;
client = 0;
name = "******";
};
mainbrickgroup.add(Brickgroup_NAMEHERE);
--- End code ---
Isn't that the same thing? In any case, I'll try that when I get a chance.
Greek2me:
Events still do not load after trying that.