Initial commit

Initial commit.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-06-13 15:08:33 -04:00
parent c0bd67a6a7
commit a6f6db7303
5236 changed files with 4203994 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
void main()
{
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
object oArea;
object oNPC;
if (GetIsPC(oClicker))
{
oArea = GetArea(oClicker);
oNPC = GetFirstObjectInArea(oArea);
while (GetIsObjectValid(oNPC))
{
if (GetObjectType(oNPC) == OBJECT_TYPE_CREATURE)
{
if (GetIsInCombat(oNPC))
DelayCommand(0.1f, AssignCommand(oNPC,ClearAllActions()));
}
oNPC = GetNextObjectInArea(oArea);
}
}
SetAreaTransitionBMP(AREA_TRANSITION_RANDOM);
AssignCommand(oClicker,JumpToObject(oTarget));
}