Aantioch_Infernum/_module/nss/golemdespawn.nss

15 lines
292 B
Plaintext
Raw Normal View History

void main()
{
// Get the creature who triggered this event.
object oObject = GetEnteringObject();
if ( !GetIsPC(oObject) || GetIsDMPossessed(oObject) )
return;
if ( GetLocalInt( oObject, "HenchFired" ))
// Destroy an object
DestroyObject(oObject, 2.0);
}