Amon_PRC8/_module/nss/openamontomb.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

17 lines
537 B
Plaintext

void main()
{
location lTarget = GetLocation(OBJECT_SELF);
object oPC = GetPCSpeaker();
object oTarget=GetFirstFactionMember(oPC, FALSE);
location lLocation = GetLocation(GetWaypointByTag("EntAmonDT"));
while (GetIsObjectValid(oTarget))
{
effect eEffect1 = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect1, lTarget);
AssignCommand(oTarget, ClearAllActions());
AssignCommand(oTarget, ActionJumpToLocation(lLocation));
oTarget=GetNextFactionMember(oPC, FALSE);
}
}