77 lines
1.4 KiB
Plaintext
77 lines
1.4 KiB
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
//Put this script OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "towerofangarngit")== OBJECT_INVALID)
|
|
return;
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("WP_SPn_Tennie2");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "tennie2", lTarget);
|
|
|
|
oTarget = GetObjectByTag("angtmtmp2c");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetWaypointByTag("WP_SPn_Angrble");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "angrble", lTarget);
|
|
|
|
oTarget = GetObjectByTag("Darrsh");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetObjectByTag("Poloi");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetObjectByTag("Tennie");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetObjectByTag("Loed");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetObjectByTag("angtmtmp2c");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetObjectByTag("driftwoodAng");
|
|
|
|
DestroyObject(oTarget, 0.0);
|
|
|
|
oTarget = GetWaypointByTag("WP_Spawn_raft");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "driftwood2", lTarget);
|
|
|
|
}
|
|
|