Amon_PRC8/_module/nss/gl_give_item2.nss

19 lines
704 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
//::///////////////////////////////////////////////
//:: FileName gl_give_item2
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 5/8/2004 7:08:05 PM
//:://////////////////////////////////////////////
#include "nw_i0_henchman"
void main()
{
// Give the speaker the items
CreateItemOnObject("gl_item2", GetPCSpeaker(), 1);
SetFormerMaster(GetPCSpeaker(), OBJECT_SELF);
RemoveHenchman(GetPCSpeaker());
ClearAllActions();
object oTarget = GetWaypointByTag("BagOfRats"); //or whatever the tag is for your destination waypoint
AssignCommand(OBJECT_SELF, JumpToObject(oTarget));
}