Files
HeroesStone_PRC8/_module/nss/sgw_c2_os_deadns.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

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));
}