Full Version : Make animals agressive
xmlspawner >>Q&A >>Make animals agressive


<< Prev | Next >>

afonso- 01-04-2007
Hi there everyone.

I was making a new dungeon for my shard when I though: "Wouldn't it be nice if animals could attack player as well?"

Only problem is I have no idea of how to do that without changing the scripts. Any ideas?

ArteGordon- 01-04-2007
That is because their fightmode is set to Aggressor by default.
You can change it to one of the others (Strongest, Weakest, Closest, Evil) at spawntime. Like

horse/fightmode/closest

You may also want to change their AI from AI_Animal to something like AI_Melee

horse/AI/AI_Melee/fightmode/closest

afonso- 01-04-2007
*bows down*

Thank you very very much smile.gif

I also figured out why it wasn't working for me: The shard has custom scripts for the creatures I was trying to make agressive. Already reported the issue. Now if I could only get the admin to change to runUO2.0..... The new attachments are sound sweet smile.gif