// Barmaid NWScript based on David Gaider of BioWare's script void main() { int nUser = GetUserDefinedEventNumber(); int nPatron; //This number should be approx number of NPC patrons object oCustomer; object oBar = GetWaypointByTag("WP_Bar"); //This waypoint is where she gets drinks from object oBar2 = GetWaypointByTag("WP_Bar2"); //This waypoint she returns to rest after delivering drinks int iTimesAroundBar, iMaxTimes; iMaxTimes=5; //ActionSpeakString("Fire script: Barmaid State =" + IntToString(GetLocalInt(OBJECT_SELF, "BARMAID_STATE"))); if (nUser == 7000 && GetLocalInt(OBJECT_SELF, "BARMAID_STATE")==0) // { SetLocalInt(OBJECT_SELF,"BARMAID_STATE",1); //ActionSpeakString("BARMAID STATE=1.. inloop"); for(iTimesAroundBar=0;iTimesAroundBar