Area Cleanup. Added CEP3 Skyboxes

Area Cleanup.  Added CEP3 Skyboxes.  Beholder AI fix.  NPC & Mook pass.  Added QN OnHit script.  Add XP for Traps system.
This commit is contained in:
Jaysyn904
2021-12-31 01:45:43 -05:00
parent 8c0a2224cb
commit 64c913bf07
282 changed files with 10734 additions and 10497 deletions

View File

@@ -0,0 +1,36 @@
//:: ra_hidden_loot
//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
object oTarget = GetObjectByTag("RA_PLC_RUBBLE01");
object oSpawn;
location lTarget;
if (!GetIsPC(oPC)) return;
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
if (DoOnce==TRUE) return;
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
if (GetIsSkillSuccessful(oPC, SKILL_SEARCH, 15))
{
if (!GetIsObjectValid(oTarget)) return;
DelayCommand(0.1f, DestroyObject(oTarget, 0.0));
oTarget = GetWaypointByTag("RA_PLC_RUBBLE01");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "VILLIX_STOR_NOOK", lTarget);
SendMessageToPC(oPC, "You have discovered a hidden cache.");
DestroyObject(oSpawn, 180.0f);
}
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
}