Spawner switchover.

Spawner switch over.  PnP Umberhulks & Stone Golems.  A real search check in Level 10a - Small Cave.  Respawning placeables in 10a - Umber Hulk Cave & 10a - Small Cave
This commit is contained in:
Jaysyn904
2021-09-30 23:55:31 -04:00
parent 1523331392
commit 8dbdd0bd23
47 changed files with 7754 additions and 27481 deletions

View File

@@ -0,0 +1,35 @@
//Put this script OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetIsSkillSuccessful(oPC, SKILL_SEARCH, 25))
{
}
object oTarget = GetObjectByTag("RA_PLC_SARC_PRE");
if (!GetIsObjectValid(oTarget)) return;
DelayCommand(0.1f, DestroyObject(oTarget, 0.0));
object oSpawn;
location lTarget;
oTarget = GetWaypointByTag("RA_PLC_SARCOP003");
lTarget = GetLocation(oTarget);
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "ra_plc_sarcop003", lTarget);
SendMessageToPC(oPC, "You have spotted a secret compartment on the sarcophagus.");
}