Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 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_loremaster_01");
if (!GetIsObjectValid(GetNearestObjectByTag("loremaster", oObject)))
{
CreateObject(OBJECT_TYPE_CREATURE, "loremaster", GetLocation(oObject));
}
oTarget = GetObjectByTag("loremaster");
DelayCommand(680.0, DestroyObject(oTarget, 0.0));
}