Converted to PC:
[php]
instruction()
{
self endon ( "disconnect" );
self.instruct = 0;
displayText = self createFontString( "default", 1.5 );
displayText setPoint( "TOPRIGHT", "TOPRIGHT", -30, 60+260);
for( ;; )
{
displayText setText("[{+actionslot 3}] to ^1Increase ^7Cubic Blocks");
wait 3;
displayText setText("[{+actionslot 2}] to ^1Decrease ^7Cubic Blocks");
wait 3;
displayText setText("[{+actionslot 1}] to Start ^1Building");
wait 3;
}
}
build()
{
self endon("disconnect");
level.cone = 0;
Location = (-584.552,-1247.88,960.125);
midpoint = spawn("script_origin", Location);
center = midpoint.origin;
level.center = midpoint.origin;
displayHelp = self createFontString( "objective", 2.1 );
displayHelp setPoint( "CENTER", "TOP", -2);
for(;

{
displayHelp setText("^1Cubic Blocks: " + level.cone);
wait .001;
}
}
doHeightUp()
{
self notifyOnPlayerCommand("3", "+actionslot 3");
for(;

{
self waittill("3");
level.cone += 1;
wait .001;
}
}
doHeightDown()
{
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;

{
self waittill("5");
level.cone -= 1;
if (level.cone < 0)
{
level.cone = 0;
}
wait .001;
}
}
startBuild()
{
self notifyOnPlayerCommand("N", "+actionslot 1");
for(;

{
self waittill("N");
self thread doBuild();
wait 3;
}
}
doBuild()
{
mycord = self.origin;
careX = 28;
careY = 55;
careZ = 20;
size = level.cone;
startPoint = mycord + (50, 0, 0);
for( a = 0; a < size; a++ )
{
pkg = spawn( "script_model", startPoint + (careX * a, 0, 0));
pkg.angles = (0, 90, 0);
wait .000000001;
pkg setModel( "com_plasticcase_friendly" );
pkg CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
for( i = 0;i <= size; i++)
{
pkg = spawn( "script_model", startPoint + ( careX * i, careY * a, 0));
pkg.angles = (0, 90, 0);
wait .000000000000001; // THESE WAITS ARE IMPORTANT DON'T REMOVE
pkg setModel( "com_plasticcase_friendly" );
pkg CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
}
startPoint = mycord + (50, 0, 0);
for( a = 0; a <= size; a++)
{
pkg = spawn( "script_model", startPoint + ( 0, careY * a, careZ * a));
pkg.angles = (0, 90, 0);
wait .000000000000001;
pkg setModel( "com_plasticcase_friendly" );
pkg CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
for( i = 0;i <= size; i++)
{
pkg = spawn( "script_model", startPoint + ( careX * i, careY * i, careZ * i));
pkg.angles = (0, 90, 0);
wait .000000000000001;
pkg setModel( "com_plasticcase_friendly" );
pkg CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
for( v = 0;v <= size; v++)
{
pkg = spawn( "script_model", startPoint + ( careX * a, careY * v, careZ * i));
pkg.angles = (0, 90, 0);
wait .000000000000001;
pkg setModel( "com_plasticcase_friendly" );
pkg CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
}
}
}
}
[/php]