Full Version : grouping mobs
xmlspawner >>Q&A >>grouping mobs
<< Prev | Next >>
Kalen- 05-10-2007
I'm not sure what some of these things are in spawner props but I'm trying to set so that if you attack one mob on the spawner that all the mobs in that group will attack you also no matter if in range or not. Also on the quests I know that if you use the questnpc that a objective is complete when he reaches a set region. Is it possible to also complete an objective if a player reaches a set region?
Steelcap- 05-10-2007
I'm afraid I cant help you with the cooperative groups (all for one one for all) mobs.
But I can certainly help with the region for completion of a question..
All you need do is add a spawner that will trigger on people who are on the quest but not carrying a secret hidden item.. And then give them a secret hidden item.
Then you can simply tie quest completion to the holding of the item.. for example a static named "Completed Quest Exploration"
I did something similar as a small scouting mission quest asking people to visit various areas around a battle field..
ArteGordon- 05-11-2007

QUOTE (Kalen @ May 10, 2007 03:22 pm)
I'm not sure what some of these things are in spawner props but I'm trying to set so that if you attack one mob on the spawner that all the mobs in that group will attack you also no matter if in range or not. Also on the quests I know that if you use the questnpc that a objective is complete when he reaches a set region. Is it possible to also complete an objective if a player reaches a set region?

take a look at the masterhelper.xml example in which if you attack the master, the helpers will all attack you.
As an extension of Steelcaps idea, you can use attachments instead of secret items to 'tag' players that have entered an area and then later test for the attachment. Take a look at attachtest1.xml for an example of this.
There is no built-in objective for visiting a region, although it is something that may be added. You can have spawners that are proximity triggered that can set the visitation objective to be completed when players come within range. It isnt explicitly region-detection, but it still allows you to create visit-type objectives.