etqw-sdk/base/script/misc/noplant.script
2008-05-29 00:00:00 +00:00

19 lines
358 B
Text

object trigger_noplant {
void preinit();
boolean vDisablePlant();
}
void trigger_noplant::preinit() {
team_base team = sys.getTeam( getKey( "team" ) );
if ( team == $null ) {
sys.error( "trigger_noplant::preinit Invalid Team Set" );
}
setGameTeam( team );
}
boolean trigger_noplant::vDisablePlant() {
return true;
}