rem:  this.registerIdle( evt.target ); 
context: function entityEventNotification( evt ){	//Add "true" to the end of order() to indicate that this is a notification order.	switch( evt.notifyType )	{				case NOTIFY_GOTO:			this.GotoInRange( evt.location.x, evt.location.z, false);			break;		case NOTIFY_RUN:			this.GotoInRange( evt.location.x, evt.location.z, true );			break;		case NOTIFY_ATTACK:		case NOTIFY_DAMAGE:			this.order( ORDER_GENERIC, evt.target, ACTION_ATTACK, true );			break;		case NOTIFY_HEAL:			this.order( ORDER_GENERIC, evt.target, ACTION_HEAL, true );			break;		case NOTIFY_GATHER:			this.order( ORDER_GENERIC, evt.target, ACTION_GATHER, true );			break;		case NOTIFY_IDLE:			//target is the unit that has become idle			this.registerIdle( evt.target );			break;		default:			console.write( "Unknown notification request " + evt.notifyType );			break;	}}		
meta: 1070	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1070/44abeb1e64aeab1e344b826d055c435ee3ac14ab/template_entity_script.js/buggy/binaries/data/mods/official/entities/template_entity_script.js