27 lines
786 B
Plaintext
27 lines
786 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: swt_user_waitres
|
||
|
//:: swt_user_waitres.nss
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Lysandius
|
||
|
//:: Created On: 09-07-2002
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
if(GetUserDefinedEventNumber() == 1004) // ON DIALOGUE
|
||
|
{
|
||
|
if(GetListenPatternNumber() >= 1 && GetListenPatternNumber() <= 3 && GetNearestObjectByTag("NW_WAITRESS", GetLastSpeaker()) == OBJECT_SELF)
|
||
|
{
|
||
|
ClearAllActions();
|
||
|
ActionMoveToObject(GetLastSpeaker());
|
||
|
PlaySound("as_pl_tavbarf2");
|
||
|
ActionStartConversation(GetLastSpeaker());
|
||
|
}
|
||
|
}
|
||
|
}
|