Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
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());
|
|
}
|
|
}
|
|
}
|