might be hard to code. stuff to include 1: equip armor 2: patrol 2: stand still 3: guard (moves to attack but returns to starting area, limit distance the guard can travel) 4: limited or unlimited arrows
Use CitiZens's Guards-types for this. You can control them as a normal bodyguard, a bouncer(3) or as a soldier since 1.1.3. And then give them a sword and they will protect your area Uhm i think NPCs which shoot arrows and that stuff isn't possible and not implemented (yet?). GC
In 1.1.5 Guards equipped with a bow do shoot arrows, my problem is they close in on the target like a sword-equipped guard instead of staying put at their post. It would be good if Guards could behave differently depending on the weapon they have.
Toggle them as a guard with /toggle guard.Then give them options, like the guards-type, check out the official wiki for Citizens and the commands-page for guards. Click GC