Blockland Forums > Modification Help
static map spawn??
datiel12:
So, I finished a map and when I load the addon I don't spawn in the map but I spawn ontop of it.. How I fix????????
thank :cookie:
PhantOS:
you need to be more specific. are you using a framework for this?
datiel12:
--- Quote from: PhantOS on February 27, 2018, 03:38:58 PM ---you need to be more specific. are you using a framework for this?
--- End quote ---
Framework? I just made a map in blender and exported it using Tendons export.py.
datiel12:
I tried using the same code from the Kitchen BL map but it didn't work
--- Code: ---package LoadMapPackage
{
function GameConnection::startLoad(%client)
{
if(!isObject("MapGroup"))
{
exec("Add-Ons/Map_Neon_Room/place.cs");
MissionCleanup.add("MapGroup");
if(isObject(PlayerDropPoints))
{
if(isObject(%obj = PlayerDropPoints.getObject(0)))
{
%obj.setTransform("21 4 3 1 0 0 0");
%obj.setScale("0.940827 1.97505 1");
}
}
}
Parent::startLoad(%client);
}
};
--- End code ---
I tried it this way cause it looks exactly like the spawn code in Map_Kitchen
PhantOS:
Put an announce(); inside each layer of brackets. Put some random text for each announce. Post updated code + chat feed