2025/09/04 Update

Implemented class titles for randomized mobs with class levels.
Full compile.
This commit is contained in:
Jaysyn904
2025-09-04 22:40:44 -04:00
parent a66fae8835
commit 5e36a8b4a6
85 changed files with 4626 additions and 249 deletions

View File

@@ -1,4 +1,30 @@
void main()
{
object oPC = GetEnteringObject();
if (GetIsPC(oPC))
{
string sDestTag = GetLocalString(oPC, "Respawn");
if (sDestTag == "")
{
sDestTag = "EN4_Respawn";
}
object oSpawnPoint = GetObjectByTag(sDestTag);
if (GetIsObjectValid(oSpawnPoint))
{
AssignCommand(oPC, JumpToLocation(GetLocation(oSpawnPoint)));
}
else
{
// optional debug
FloatingTextStringOnCreature("Invalid spawn point: " + sDestTag, oPC);
}
}
}
/* void main()
{
object oPC;
object oSpawnPoint;
@@ -13,4 +39,4 @@ if (GetIsPC(oPC))
AssignCommand(oPC,JumpToLocation(GetLocation(oSpawnPoint)));
}
}
*/