Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 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_hazel_01");
if (!GetIsObjectValid(GetNearestObjectByTag("hazel", oObject)))
{
CreateObject(OBJECT_TYPE_CREATURE, "elfmerc003", GetLocation(oObject));
}
oTarget = GetObjectByTag("hazel");
DelayCommand(680.0, DestroyObject(oTarget, 0.0));
}