Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,25 @@
//::///////////////////////////////////////////////
//:: Name PRC Respawning Door Destroyed event
//:: FileName door_destroyed
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
This handles prevent the door being removed
It should be respawned by sending a userdefined
event no 500 to the door later
*/
//:://////////////////////////////////////////////
//:: Created By: Primogenitor
//:: Created On: 08/05/06
//:://////////////////////////////////////////////
void main()
{
object oDoor = OBJECT_SELF;
int nSave = GetWillSavingThrow(oDoor);
SetIsDestroyable(FALSE);
if(nSave)
DelayCommand(TurnsToSeconds(nSave), SignalEvent(oDoor, EventUserDefined(500)));
}