Mobs in other areas for Quests

For builders to discuss and ask building questions.
Post Reply
Melusine
Staff
Staff
Posts: 1975
Joined: Tue Jul 25, 2006 5:40 am
Location: The Moonwood

Mobs in other areas for Quests

Post by Melusine » Fri Apr 09, 2010 6:51 am

I haven't seen anything on this before, so apologies if I missed it.. My question is... What is the process if you need to have a Mob or two outside of your own area for a quest? I can program what I need him to do and all, but do I put him in my own area, code-wise? I'll need him there, and some echoes to take place outside the room he's in. My area is going to be in Skullport, and I'd need the Mob itself within the city somewhere. I know this may be at a bit of an odd time, but... Help? :)
Anastacia Syria, Truescar of Loviatar
User avatar
Harroghty
Staff
Staff
Posts: 9695
Joined: Tue Jul 27, 2004 5:38 pm

Re: Mobs in other areas for Quests

Post by Harroghty » Fri Apr 09, 2010 8:33 am

Write up the mobile and any associated programs and then submit to a builder admin (Lathlain or Kregor) along with the purpose and the VNUM of the room you'd like to put them in. They will be able to insert them into the area you'd like if they agree that it's a good idea.
"A man may die yet still endure if his work enters the greater work, for time is carried upon a current of forgotten deeds, and events of great moment are but the culmination of a single carefully placed thought." - Chime of Eons
User avatar
Lathlain
Sword Grand Master
Sword Grand Master
Posts: 1169
Joined: Sun Aug 10, 2003 4:25 pm
Location: Zhentil Keep

Re: Mobs in other areas for Quests

Post by Lathlain » Fri Apr 09, 2010 9:35 am

More or less as Drew says!

It depends largely on the reason for the mobile. It is acceptable under some circumstances to create them and place a reset in your area file, even if they'll be elsewhere - though it's better if we can have a chat about the specifics first of all.

Will the mob be static? What will be their purpose? Do they train, sell or set questbits? Would it be viable to create a separate room or two for them, which could be attached to an existing area?

Any and all information would be greatly appreciated - though feel free to PM the area administration if you'd rather keep details out of the public eye.
"This is General Lath'lain Dy'nesir, of the Ebon Spur. Walking Murder surrounded by a thin veneer of civility."
-Miriel
User avatar
Kregor
Sword Grand Master
Sword Grand Master
Posts: 1474
Joined: Sun Jul 11, 2004 6:14 am
Location: Baldur's Gate

Re: Mobs in other areas for Quests

Post by Kregor » Thu Apr 15, 2010 6:44 am

Quick caveat that's caught often: You also have to make sure when you write progs for mobiles that will ultimately have their place outside your own area, that you set bits using questr, rather than just quest, and use your base vnum for your area, like:

if questr(XX000, X, $n) == X

mpmset $n questr XX000 X X X

else the mobile will be checking/setting your qbits for the area the PC is standing in, not the mobiles own area.
"There is no safety for honest men except by believing all possible evil of evil men."

Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Post Reply