//:://///////////////////////////////////////////// //:: 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(); }