Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
void main()
{
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
object oArea = GetArea(oClicker);
SetAreaTransitionBMP(AREA_TRANSITION_RANDOM);
object oMob = GetFirstObjectInArea(oArea);
while (GetIsObjectValid(oMob))
{
if (GetObjectType(oMob) == OBJECT_TYPE_CREATURE && !GetIsPC(oMob) && !GetIsPC(GetMaster(oMob)))
{
AssignCommand(oMob,ClearAllActions(TRUE));
ForceRest(oMob);
}
oMob = GetNextObjectInArea(oArea);
}
if (!GetIsObjectValid(oTarget))
SendMessageToPC(oClicker,"ERROR: Invalid Destination for " + GetTag(oTarget));
AssignCommand(oClicker,JumpToObject(oTarget));
}