19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
#include "nw_i0_plot"
|
|
void main()
|
|
{
|
|
object oObject = GetFirstObjectInArea(GetArea(OBJECT_SELF));
|
|
SetLocalInt(GetArea(OBJECT_SELF), "TributePaid", TRUE);
|
|
while (GetIsObjectValid(oObject))
|
|
{
|
|
if (GetTag(oObject) == "anc_roadbandit")
|
|
{
|
|
SetLocalInt(oObject, "Running", TRUE);
|
|
DeleteLocalInt(GetArea(oObject), "Tribute");
|
|
AssignCommand(oObject, ClearAllActions(TRUE));
|
|
AssignCommand(oObject, EscapeArea());
|
|
DelayCommand(25.0, DestroyObject(oObject));
|
|
}
|
|
oObject = GetNextObjectInArea(GetArea(OBJECT_SELF));
|
|
}
|
|
}
|