Initial Commit

Initial Commit [v1.01]
This commit is contained in:
Jaysyn904
2025-04-03 19:00:46 -04:00
parent 9c53be196a
commit c5cffc37af
15285 changed files with 13371551 additions and 2 deletions

View File

@@ -0,0 +1,53 @@
//::///////////////////////////////////////////////
//:: Name x2_def_ondeath
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Default OnDeath script
*/
//:://////////////////////////////////////////////
//:: Created By: Keith Warner
//:: Created On: June 11/03
//:://////////////////////////////////////////////
void main()
{
SetLocalInt(GetModule(), "RotWarlock", GetLocalInt(GetModule(), "RotWarlock") - 1);
if ((GetLocalInt (GetModule(), "RotWarlock") == 0) && (GetLocalInt (GetModule(), "RotWarlock2") == 4))
{
CreateObject(OBJECT_TYPE_PLACEABLE, "ablight1",
GetLocation(GetWaypointByTag("ablight1")));
CreateObject(OBJECT_TYPE_PLACEABLE, "ablight2",
GetLocation(GetWaypointByTag("ablight2")));
CreateObject(OBJECT_TYPE_PLACEABLE, "ablight3",
GetLocation(GetWaypointByTag("ablight3")));
CreateObject(OBJECT_TYPE_PLACEABLE, "ablight4",
GetLocation(GetWaypointByTag("ablight4")));
CreateObject(OBJECT_TYPE_PLACEABLE, "redlight",
GetLocation(GetWaypointByTag("ablight5")));
CreateObject(OBJECT_TYPE_PLACEABLE, "redlight",
GetLocation(GetWaypointByTag("ablight6")));
CreateObject(OBJECT_TYPE_PLACEABLE, "redlight",
GetLocation(GetWaypointByTag("ablight7")));
CreateObject(OBJECT_TYPE_PLACEABLE, "redlight",
GetLocation(GetWaypointByTag("ablight8")));
effect eEffect2 = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect2, GetLocation(GetObjectByTag("Shake_1")));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect2, GetLocation(GetObjectByTag("Shake_2")));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect2, GetLocation(GetObjectByTag("Shake_3")));
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect2, GetLocation(GetObjectByTag("Shake_4")));
SetLocalInt(GetModule(), "RotWarlock2", 0);
}
}