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:
23
_module/nss/swt_waitr_get.nss
Normal file
23
_module/nss/swt_waitr_get.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: swt_waitr_get
|
||||
//:: swt_waitr_get.nss
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Lysandius
|
||||
//:: Created On: 09-07-2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
SetLocalObject(OBJECT_SELF, "oPlayer", GetLastSpeaker());
|
||||
ActionSpeakString("I will be right back.");
|
||||
ActionMoveToObject(GetNearestObjectByTag("swt_waypoint_drinks"));
|
||||
ActionMoveToObject(GetLocalObject(OBJECT_SELF, "oPlayer"));
|
||||
ActionSpeakString("Here is your drink.");
|
||||
ActionGiveItem(CreateItemOnObject(GetLocalString(OBJECT_SELF, "sDrink")), GetLocalObject(OBJECT_SELF, "oPlayer"));
|
||||
ActionRandomWalk();
|
||||
}
|
||||
Reference in New Issue
Block a user