Added content hak

Added content hak.
This commit is contained in:
Jaysyn904
2021-08-30 07:08:20 -04:00
parent 623a22d922
commit a70c7d9506
84 changed files with 179278 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
void main()
{
if(GetLocalInt(OBJECT_SELF, "DoOnce")) return;
location lLoc=GetLocation(OBJECT_SELF);
object oPC=GetFirstObjectInShape(SHAPE_SPHERE, 25.0, lLoc, FALSE);
object oPW=OBJECT_SELF;
while(GetIsObjectValid(oPC))
{
if(GetIsPC(oPC))
DelayCommand(2.5, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectKnockdown(), oPC, 6.0));
oPC=GetNextObjectInShape(SHAPE_SPHERE, 25.0, lLoc, FALSE);
AssignCommand(oPC, DelayCommand(0.8, PlaySound("sdr_paralyzed")));
AssignCommand(oPC, DelayCommand(2.5, PlaySound("sim_destruct_low")));
}
//earthquake visual effect. screen shake and rock falling sound
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(356), GetLocation(OBJECT_SELF), 7.0);
SetLocalInt(OBJECT_SELF, "DoOnce", TRUE);
}