Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
void main()
{
object oDoor = GetNearestObjectByTag ("dt_CellDoor");
if (GetLocalInt (OBJECT_SELF, "m_bActivated") == TRUE)
{
SetLocalInt (OBJECT_SELF, "m_bActivated", FALSE);
PlayAnimation (ANIMATION_PLACEABLE_DEACTIVATE);
AssignCommand (oDoor, ActionCloseDoor (oDoor));
SetLocked (oDoor,TRUE);
}
else
{
SetLocalInt (OBJECT_SELF, "m_bActivated", TRUE);
PlayAnimation (ANIMATION_PLACEABLE_ACTIVATE);
AssignCommand (oDoor, ActionOpenDoor (oDoor));
SetLocked (oDoor,FALSE);
}
}