precacheModel("static_peleliu_crate01");
CreateStairs()
{
//thread your exit menu function here
wait 1;
self iPrintln("[{+speed_throw}][{+attack}] - Toggle Stairs Height\n[{+usereload}] - Confirm Height & Build\nMax Height: 250");
self thread StairsText();
self.score = 0;
self endon("StairsConfirmed");
for(;
{
if(self AdsButtonPressed())
{
self.score -= 1;
}
if(self AttackButtonPressed())
{
self.score += 1;
}
if(self UseButtonPressed())
{
self.Text destroy();
self iPrintlnBold("Building Stairs..");
wait 2;
self thread stair( self.score );
self thread stairs( self.score );
self notify("StairsConfirmed");
}
if(self.score == 251)
{
self.score -= 1;
}
wait .2;
}
}
StairsText()
{
self endon("StairsConfirmed");
self.Text = self createFontString("Objective",2);
self.Text setPoint("TOPRIGHT","TOPRIGHT",0,0);
for(;
{
self.Text setText("Stairs Size: ^2"+self.score);
wait .01;
}
}
Stairs(size)
{
stairz = [];
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++)
{
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
stairz[i] = spawn("script_model", newPos);
stairz[i].angles = (0, 90, 0);
wait .1;
stairz[i] setModel( "static_peleliu_crate01" );
}
}
stair(size)
{
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++){
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
level.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.packo[i].origin = newpos;
level.packo[i].angles = (0, 90, 0);
level.packo[i] setContents( 1 );
}
}
CreateStairs()
{
//thread your exit menu function here
wait 1;
self iPrintln("[{+speed_throw}][{+attack}] - Toggle Stairs Height\n[{+usereload}] - Confirm Height & Build\nMax Height: 250");
self thread StairsText();
self.stair["Size"] = 0;
self endon("StairsConfirmed");
for(;
{
if(self AdsButtonPressed())
{
self.stair["Size"] -= 1;
}
if(self AttackButtonPressed())
{
self.stair["Size"] += 1;
}
if(self UseButtonPressed())
{
self.Text destroy();
self iPrintlnBold("Building Stairs..");
wait 2;
self thread stair( self.stair["Size"] );
self thread stairs( self.stair["Size"] );
self notify("StairsConfirmed");
}
if(self.stair["Size"] == 251)
{
self.stair["Size"] -= 1;
}
wait .2;
}
}
StairsText()
{
self endon("StairsConfirmed");
self.Text = self createFontString("Objective",2);
self.Text setPoint("TOPRIGHT","TOPRIGHT",0,0);
for(;
{
self.Text setValue( self.stair["Size"] );
wait .01;
}
}
Stairs(size)
{
stairz = [];
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++)
{
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
stairz[i] = spawn("script_model", newPos);
stairz[i].angles = (0, 90, 0);
wait .1;
stairz[i] setModel( "static_peleliu_crate01" );
}
}
stair(size)
{
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++){
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
self.packo = [];
self.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
self.packo[i].origin = newpos;
self.packo[i].angles = (0, 90, 0);
self.packo[i] setContents( 1 );
}
}
CreateStairs()
{
//thread your exit menu function here
wait 1;
self iPrintln("[{+speed_throw}][{+attack}] - Toggle Stairs Height\n[{+usereload}] - Confirm Height & Build\nMax Height: 250");
self thread StairsText();
self.stair["Size"] = 0;
self endon("StairsConfirmed");
for(;
{
if(self AdsButtonPressed())
{
self.stair["Size"] -= 1;
}
if(self AttackButtonPressed())
{
self.stair["Size"] += 1;
}
if(self UseButtonPressed())
{
self.Text destroy();
self iPrintlnBold("Building Stairs..");
wait 2;
self thread stair( self.stair["Size"] );
self thread stairs( self.stair["Size"] );
self notify("StairsConfirmed");
}
if(self.stair["Size"] == 251)
{
self.stair["Size"] -= 1;
}
wait .2;
}
}
StairsText()
{
self endon("StairsConfirmed");
self.Text = self createFontString("Objective",2);
self.Text setPoint("TOPRIGHT","TOPRIGHT",0,0);
for(;
{
self.Text setValue( self.stair["Size"] );
wait .01;
}
}
Stairs(size)
{
stairz = [];
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++)
{
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
stairz[i] = spawn("script_model", newPos);
stairz[i].angles = (0, 90, 0);
wait .1;
stairz[i] setModel( "static_peleliu_crate01" );
}
}
stair(size)
{
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++){
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
self.packo = [];
self.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
self.packo[i].origin = newpos;
self.packo[i].angles = (0, 90, 0);
self.packo[i] setContents( 1 );
}
}
CreateStairs()
{
//thread your exit menu function here
wait 1;
self iPrintln("[{+speed_throw}][{+attack}] - Toggle Stairs Height\n[{+usereload}] - Confirm Height & Build\nMax Height: 250");
self thread StairsText();
self.stair["Size"] = 0;
self endon("StairsConfirmed");
for(;
{
if(self AdsButtonPressed())
{
self.stair["Size"] -= 1;
}
if(self AttackButtonPressed())
{
self.stair["Size"] += 1;
}
if(self UseButtonPressed())
{
self.Text destroy();
self iPrintlnBold("Building Stairs..");
wait 2;
self thread stair( self.stair["Size"] );
self thread stairs( self.stair["Size"] );
self notify("StairsConfirmed");
}
if(self.stair["Size"] == 251)
{
self.stair["Size"] -= 1;
}
wait .2;
}
}
StairsText()
{
self endon("StairsConfirmed");
self.Text = self createFontString("Objective",2);
self.Text setPoint("TOPRIGHT","TOPRIGHT",0,0);
for(;
{
self.Text setValue( self.stair["Size"] );
wait .01;
}
}
Stairs(size)
{
stairz = [];
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++)
{
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
stairz[i] = spawn("script_model", newPos);
stairz[i].angles = (0, 90, 0);
wait .1;
stairz[i] setModel( "static_peleliu_crate01" );
}
}
stair(size)
{
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++){
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
self.packo = [];
self.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
self.packo[i].origin = newpos;
self.packo[i].angles = (0, 90, 0);
self.packo[i] setContents( 1 );
}
}
CreateStairs()
{
//thread your exit menu function here
wait 1;
self iPrintln("[{+speed_throw}][{+attack}] - Toggle Stairs Height\n[{+usereload}] - Confirm Height & Build\nMax Height: 250");
self thread StairsText();
self.stair["Size"] = 0;
self endon("StairsConfirmed");
for(;
{
if(self AdsButtonPressed())
{
self.stair["Size"] -= 1;
}
if(self AttackButtonPressed())
{
self.stair["Size"] += 1;
}
if(self UseButtonPressed())
{
self.Text destroy();
self iPrintlnBold("Building Stairs..");
wait 2;
self thread stair( self.stair["Size"] );
self thread stairs( self.stair["Size"] );
self notify("StairsConfirmed");
}
if(self.stair["Size"] == 251)
{
self.stair["Size"] -= 1;
}
wait .2;
}
}
StairsText()
{
self endon("StairsConfirmed");
self.Text = self createFontString("Objective",2);
self.Text setPoint("TOPRIGHT","TOPRIGHT",0,0);
for(;
{
self.Text setValue( self.stair["Size"] );
wait .01;
}
}
Stairs(size)
{
stairz = [];
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++)
{
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
stairz[i] = spawn("script_model", newPos);
stairz[i].angles = (0, 90, 0);
wait .1;
stairz[i] setModel( "static_peleliu_crate01" );
}
}
stair(size)
{
stairPos = self.origin+(100, 0, 0);
for(i=0;i<=size;i++){
newPos = (stairPos + ((58 * i / 2 ), 0, (17 * i / 2)));
self.packo = [];
self.packo[i] = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
self.packo[i].origin = newpos;
self.packo[i].angles = (0, 90, 0);
self.packo[i] setContents( 1 );
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.