//:://///////////////////////////////////////////// //:: Name: pv_set_npc_lstn //::////////////////////////////////////////////// /* Sets the NPCMerchant to listen for a certain pattern while listening to prices from the player. */ //::////////////////////////////////////////////// void main() { object oNPCMerchant = OBJECT_SELF; SetListening (oNPCMerchant, TRUE); // Set the merchant to listen only to numbers SetListenPattern (oNPCMerchant, "*n", 5000); ActionPauseConversation(); }