NPC Status Change/Possible?
Zephirius
Member Posts: 419
Is it possible to label an NPC as dead even though he is uninjured?
I've got this guy who froze to death in a snowdrift, I just want his corpse to read "dead" not "uninjured"????
I've got this guy who froze to death in a snowdrift, I just want his corpse to read "dead" not "uninjured"????
AssignCommand(OBJECT_SELF, ClearAllActions(TRUE)); AssignCommand(OBJECT_SELF, SetCommandable(FALSE, OBJECT_SELF)); effect eSkin = EffectVisualEffect(VFX_DUR_ICESKIN); DelayCommand(4.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSkin, OBJECT_SELF)); effect eFreeze = EffectVisualEffect(VFX_DUR_FREEZE_ANIMATION); DelayCommand(3.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eFreeze, OBJECT_SELF)); //AssignCommand(OBJECT_SELF, ActionPlayAnimation(ANIMATION_LOOPING_SIT_CROSS, 1.0, 3.0)); effect eKnock = EffectKnockdown(); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eKnock, OBJECT_SELF); //effect eDeath = EffectDeath(FALSE); //DelayCommand(5.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eDeath, OBJECT_SELF)); }
Post edited by Zephirius on
0
Comments
I'd copy what they do in Shadows of Undrentide with all the dead kobolds.
SetIsDestroyable() prior to death lets you tweak the corpse options if need be.
You have no idea how much that was driving me mad.
Dead guys aren't supposed to be walking around uninjured. It's unnatural! Witchcraft I tell you...
It's official! My dead guys are officially dead and not uninjured.