15 lines
292 B
Plaintext
15 lines
292 B
Plaintext
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);
|
|
|
|
}
|
|
|