rem: evt.preventDefault(); break; 
add:  break; 
context: function entityEventPrepareOrder( evt ){	// This event gives us a chance to veto any order we're given before we execute it.	// Not sure whether this really belongs here like this: the alternative is to override it in	// subtypes - then you wouldn't need to check tags, you could hardcode results.	if( !this.actions )	{		evt.preventDefault();		return;	}	switch( evt.orderType )	{		case ORDER_GOTO:			if( !this.actions.move )				evt.preventDefault();			break;		case ORDER_RUN:			if( !this.actions.move.run )				evt.preventDefault();			break;		case ORDER_PATROL:			if( !this.actions.patrol )				evt.preventDefault();			break;			case ORDER_GENERIC:			// TODO: some checking here			break;		default:			evt.preventDefault();		break;	}}
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/5b10fce4a73858267f89281e17c8ea59d4f7e106/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js