/**
    Spawn an NPC who will fire one of the default "BattleCatapults"

    J.D. Robertson, 2002
*/
void main()
{
    object catapult = GetNearestObjectByTag("BattleCatapults");
    if (GetIsObjectValid(catapult))
        SetLocalObject(OBJECT_SELF, "MyCatapult", catapult);
}