Disconected 0 Posted September 13, 2014 Hi,I'm looking for a script or a modification that does not allow the use of Mercenary in BG and WoE, but results so far, would appreciate help on this.Also looking that it can not come with mercenary and pulled them out to maps or being in them, something similar as Pets in WoE. Quote Share this post Link to post Share on other sites
0 nostafuz 0 Posted October 2, 2014 maybe you can use map_zone_db.conf add this on disabled_items Bow_Mercenary_Scroll1: true Bow_Mercenary_Scroll2: true Bow_Mercenary_Scroll3: true etc any item for Mercenary Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted October 2, 2014 You can block them using it on these restricted places as nostafuz said. If you do also want them not to enter in a place, use a script like this one: - script nomercenaries -1,{OnPCLoadMapEvent: if (getmercinfo(0)) { // Don't check anything else if user has no mercenary .@map$ = strcharinfo(PC_MAP); // This saves some time on next check if (getmapflag(.@map$,mf_gvg_castle) || getmapflag(.@map$,mf_battleground)) { warp "SavePoint",0,0; // kick him announce "You may NOT have a Mercenary on WoE or Battleground maps.",bc_self; } } end;} This should kick them from these maps when entering with a mercenary. On current scripting, there's no way to terminate a mercenary's contract via a script command to the best of my knowledge. Note: You should also add mapflag loadevent on all the maps you want to restrict it beforehand! Quote Share this post Link to post Share on other sites
Hi,
I'm looking for a script or a modification that does not allow the use of Mercenary in BG and WoE, but results so far, would appreciate help on this.
Also looking that it can not come with mercenary and pulled them out to maps or being in them, something similar as Pets in WoE.
Share this post
Link to post
Share on other sites