Initial Commit

Initial Commit.
This commit is contained in:
Jaysyn904
2025-09-14 15:40:46 -04:00
parent 7083b33d71
commit 1eefc84201
19230 changed files with 11539227 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
void main()
{
location lTarget = GetLocalLocation(OBJECT_SELF, "DM_PAA_lTarget");
int iOffset = GetLocalInt(OBJECT_SELF, "DM_PAA_iOffset");
int iLoop = 0;
object oTarget = OBJECT_SELF;
while( (iLoop < 10) & (GetIsObjectValid(oTarget) ))
{
oTarget = GetNearestObjectToLocation(OBJECT_TYPE_PLACEABLE, lTarget, iLoop+iOffset+1);
if( GetIsObjectValid(oTarget) )
{ SetLocalObject(OBJECT_SELF, "DM_PAA_oPlaceable" + IntToString(iLoop), oTarget);
SetCustomToken(11010 + iLoop, GetName(oTarget));
}
iLoop++;
}
SetLocalInt(OBJECT_SELF, "DM_PAA_iOffset", iLoop+iOffset);
oTarget = GetNearestObjectToLocation(OBJECT_TYPE_PLACEABLE, lTarget, iLoop+iOffset+1);
SetLocalObject(OBJECT_SELF, "DM_PAA_oMore", oTarget);
}