

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!breakStuffTrigger()
{
break_trigger_array = getEntArray("break_trigger", "targetname");
for (i = 0; i<break_trigger_array.size; i++)
{
break_trigger_array[i] thread breakStuff();
}
}
breakStuff()
{
self waittill("trigger");
stuff_break = getEntArray(self.target, "targetname");
self playsound("glass_00");
for(i=0; i<stuff_break.size; i++){
if(isdefined(stuff_break[i].script_sound)){
stuff_break[i] playsound(stuff_break[i].script_sound);
}else{
stuff_break[i] playsound("wallcrash");
}
stuff_break[i] PhysicsLaunch( stuff_break[i].origin , (randomintrange(-10000,10000),randomintrange(-100000,10),10000) );
}
wait 5;
for(p=0;p<stuff_break.size;p++){
stuff_break[p] delete();
}
self delete();
}
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
playsoundatposition ("glass_00", self.origin);
![]() | 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 |
Any way I could remove their collision
stuff_break[i] notsolid();
gib_delete()
{
wait( 10 + RandomFloat( 5 ) );
for( i = 0; i < 100; i++ )
{
if( !self IsBeingWatched() )
{
break;
}
wait( 1 );
}
self Delete();
}