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

20 lines
358 B
Plaintext

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;
}