Battledale_PRC8/_module/nss/ah_door_destroy.nss

9 lines
261 B
Plaintext
Raw Permalink Normal View History

// Simple script for a door to destroy itself on spawn. Seen as this goes
// on the doors heartbeat event, it will fire, then as the door has been destroyed
// will no longer continue to fire OnHeartbeat after that.
void main()
{
DestroyObject(OBJECT_SELF);
}