Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

20
_module/nss/res_death.nss Normal file
View File

@@ -0,0 +1,20 @@
//
// Res_Death script
//
// Note:
//
// If a corpse is killed a second time before the fCorpseRemainTime expires, the first value will be used
// in the delaycommand. Example:
//
// Time Index Action
// 0 You Kill Creature
// 6 Faction resurrects killed creature
// 15 You Kill Same Creature
// 20 Creature Corpse disappears! (Time index does NOT reset for each death)
//
void main()
{
float fCorpseRemainTime = 20.0; // Amount of time corpse remains until death.
SetIsDestroyable(FALSE,TRUE,TRUE);
DelayCommand(fCorpseRemainTime,ExecuteScript("res_shout", OBJECT_SELF));
}