mobs for quest

For builders to discuss and ask building questions.
Post Reply
Teyn
Sword Novice
Sword Novice
Posts: 21
Joined: Mon Apr 03, 2006 3:22 pm
Location: Darromar

mobs for quest

Post by Teyn » Sun Jun 11, 2006 3:37 pm

I'm trying to make a quest where it sends the PC out to get rid of the orcs that have just decided to raid the place. I want it to be that once the PC has done it, they don't come back the next time to find that people are all happy at their banishment, yet orcs are invading again.

So I was wondering how I would go about coding it in a way that if the quest is on 0 or 1, there are orcs, but there will be none if it is done.

Would I use an if quest followed by an if mobinroom on a greet_prog?
And how do I then set it so the mob only needs to be defeated once (well, for each room)?

Sorry if that's a bit incoherent.
Anasil.
Elwin
Sword Master
Sword Master
Posts: 171
Joined: Wed Dec 31, 2003 8:28 pm
Location: Ardeep
Contact:

Post by Elwin » Sun Jun 11, 2006 4:40 pm

I think I understand what you are asking. What I would do is make a quest bit check and if they meet the requirements, load the mob into the room. Upon death of the mob, have a death prog to set the quest bit on the PC up one each time. Thay way, the orcs will not repop in the room at refresh or when a person doing the quest walks back in the room.
From your friendly neighborhood ranger :)
Teyn
Sword Novice
Sword Novice
Posts: 21
Joined: Mon Apr 03, 2006 3:22 pm
Location: Darromar

Post by Teyn » Mon Jun 12, 2006 10:57 am

Okey dokey. Thanks for the help :)
Post Reply