Initial upload
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.
This commit is contained in:
26
_module/nss/swt_user_waitres.nss
Normal file
26
_module/nss/swt_user_waitres.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user