14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
|
/**
|
||
|
spawn_dead
|
||
|
|
||
|
OnSpawn: This creature will immediately die and leave a permanent body
|
||
|
|
||
|
J.D. Robertson, 2002
|
||
|
*/
|
||
|
void main()
|
||
|
{
|
||
|
SetIsDestroyable(FALSE, FALSE, FALSE);
|
||
|
SetCommandable(FALSE);
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), OBJECT_SELF);
|
||
|
}
|