etqw-sdk/base/script/misc/noplant.script

20 lines
358 B
Text
Raw Normal View History

2008-05-29 00:00:00 +00:00
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;
}