Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
void main()
{
object oCreature = GetEnteringObject();
if (GetLocalInt(oCreature, "UNDER_WATER_IMMUNE")!= 1)
return;
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("horseunsummon");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
AssignCommand(oCreature, ClearAllActions());
AssignCommand(oCreature, ActionJumpToLocation(lTarget));
oTarget = oCreature;
effect eEffect;
eEffect = EffectDeath();
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget));
}