Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2022-10-07 14:20:31 -04:00
parent 0bbbd2678a
commit 128e7e59a4
7060 changed files with 4955665 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
location lTarget;
object oTarget;
//Can go on enter of an area or on enter of a tracks trigger.
//Basically you spawn an npc, then after a while they dissapear.
//This script will not spawn an npc if one already exist.
void main()
{
object oPC = GetEnteringObject(),
oObject = GetWaypointByTag("WP_bartender_01");
if (!GetIsObjectValid(GetNearestObjectByTag("bartender", oObject)))
{
CreateObject(OBJECT_TYPE_CREATURE, "bartender", GetLocation(oObject));
}
oTarget = GetObjectByTag("bartender");
DelayCommand(380.0, DestroyObject(oTarget, 0.0));
}