generated from Jaysyn/ModuleTemplate
26 lines
796 B
Plaintext
26 lines
796 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Default: Called From On Spawn Event
|
|
//:: SGW_C2_OS_DeathNS
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
This function kills the NPC OnSpawn in and makes
|
|
it so that the dead body is NOT Selectable with
|
|
the mouse. The body will still appear when a
|
|
player presses the TAB key.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: ShadowLord(ShadowNWN) @ ShadowGameWorld.net
|
|
//:: Created On: Jan 30, 2004
|
|
//:://////////////////////////////////////////////
|
|
|
|
//#include "NW_O2_CONINCLUDE"
|
|
//#include "NW_I0_GENERIC"
|
|
|
|
void main()
|
|
{
|
|
|
|
AssignCommand(OBJECT_SELF, SetIsDestroyable(FALSE, FALSE, FALSE));
|
|
AssignCommand(OBJECT_SELF, ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(),OBJECT_SELF));
|
|
|
|
}
|