NWNDS/nwn_dark_sun/temp.nss
Jaysyn904 b01c5cc7db Added PnP Dire Rat.
Added PnP Dire Rat.
2021-07-21 17:48:43 -04:00

18 lines
451 B
Plaintext

void main()
{
// Get the creature who triggered this event.
object oPC = GetExitingObject();
// Only fire for (real) PCs.
if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) )
return;
// Only fire once per PC.
if ( GetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF)) )
return;
SetLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
// Set a local integer.
SetLocalInt(oPC, "ring_mount_pass", 1);
}