21 lines
533 B
Plaintext
21 lines
533 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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();
|
||
|
}
|