Ancordia_PRC8/_module/nss/quest_esbanatk.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

15 lines
396 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oObject = GetFirstObjectInArea(GetArea(OBJECT_SELF));
while (oObject != OBJECT_INVALID)
{
if (GetTag(oObject) == "anc_roadbandit")
{
SetIsTemporaryEnemy(oPC, oObject);
AssignCommand(oObject, ActionAttack(oPC));
}
oObject = GetNextObjectInArea(GetArea(OBJECT_SELF));
}
}