cod5-sdk/raw/codescripts/delete.gsc

22 lines
535 B
Text
Raw Permalink Normal View History

2008-11-20 00:00:00 +00:00
main()
{
assert(isdefined(self));
wait 0;
if (isdefined(self))
{
/#
if( self.classname == "trigger_once" || self.classname == "trigger_radius" || self.classname == "trigger_multiple" )
{
println( "" );
println( "*** trigger debug: delete.gsc is deleting trigger with ent#: " + self getentitynumber() + " at origin: " + self.origin );
//players = GetPlayers();
//println( "*** trigger debug: player origin is: " + players[0].origin );
println( "" );
}
#/
self delete();
}
}