ItsMods

Full Version: Remove Death Barriers? Help Please!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everybody..

I'm looking for something that will remove all the death barriers in the map. I'm designing a gametype where everyone spawns outside. Any ideas?
Thanks.
This will do the thing:

Code:
ents = getEntArray();
for( i = 0; i < ents.size; i ++ )
{
if( isSubStr( ents[i].classname, "trigger_hurt" ) )
ents[i].origin = ( 0, 0, 9999999 );
}

I think that this would also work:

Code:
ents = getEntArray();
for( i = 0; i < ents.size; i ++ )
{
if( isSubStr( ents[i].classname, "trigger_hurt" ) )
ents[i] delete();
}