
Posts
70
Respect
40Add +1
Forum Rank
Rotting Walker
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
print_powerup_drop( powerup, type )
{
/#
if( !IsDefined( level.powerup_drop_time ) )
{
level.powerup_drop_time = 0;
level.powerup_random_count = 0;
level.powerup_score_count = 0;
}
time = ( GetTime() - level.powerup_drop_time ) * 0.001;
level.powerup_drop_time = GetTime();
if( type == "random" )
{
level.powerup_random_count++;
}
else
{
level.powerup_score_count++;
}
println( "========== POWER UP DROPPED ==========" );
println( "DROPPED: " + powerup );
println( "HOW IT DROPPED: " + type );
println( "--------------------" );
println( "Drop Time: " + time );
println( "Random Powerup Count: " + level.powerup_random_count );
println( "Random Powerup Count: " + level.powerup_score_count );
println( "======================================" );
#/
}
print_powerup_drop( powerup, type )
{
if( !IsDefined( level.powerup_drop_time ) )
{
level.powerup_drop_time = 0;
level.powerup_random_count = 0;
level.powerup_score_count = 0;
}
time = ( GetTime() - level.powerup_drop_time ) * 0.001;
level.powerup_drop_time = GetTime();
if( type == "random" )
{
level.powerup_random_count++;
}
else
{
level.powerup_score_count++;
}
println( "^1========== ^2POWER-UP DROPPED! ^1==========" );
println( "^5DROPPED^7: ^3" + powerup );
println( "^1======================================" );
/#
println( "HOW IT DROPPED: " + type );
println( "--------------------" );
println( "Drop Time: " + time );
println( "Random Powerup Count: " + level.powerup_random_count );
println( "Random Powerup Count: " + level.powerup_score_count );
println( "======================================" );
#/
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
print_powerup_drop( powerup, type )
{
if( !IsDefined( level.powerup_drop_time ) )
{
level.powerup_drop_time = 0;
level.powerup_random_count = 0;
level.powerup_score_count = 0;
}
time = ( GetTime() - level.powerup_drop_time ) * 0.001;
level.powerup_drop_time = GetTime();
if( type == "random" )
{
level.powerup_random_count++;
}
else
{
level.powerup_score_count++;
}
iprintln( "^1========== ^2POWER-UP DROPPED! ^1==========" );
iprintln( "^5DROPPED^7: ^3" + powerup );
iprintln( "^1======================================" );
iprintln( "HOW IT DROPPED: " + type );
iprintln( "--------------------" );
iprintln( "Drop Time: " + time );
iprintln( "Random Powerup Count: " + level.powerup_random_count );
iprintln( "Random Powerup Count: " + level.powerup_score_count );
iprintln( "======================================" );
}
But, it won't shot up in game because the type is set to debug somewhere in the script.
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
-snip-