15 lines
396 B
Plaintext
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));
|
|
}
|
|
}
|