- Joined
- Jan 5, 2009
- Messages
- 1,127
Quests
What Are Quests?
Quests are things that have to achieve to go to the next area or level up, or even gain reputation(as in WoW). But in some certain cases their are opitional quests which you can choose to do or not to. Now in a map up the top left hand corner there is a quest tab although you can only press it if there is any quests.Warning: In some maps the quest tab the name maybe changed to Info or something else, but its still the same quest tab.
How do you make Quests?
Making a quest is easy! All you need is some skill with GUI triggers( JASS is able to do it ).If you know what variables are then good your on the right track, if you don't however there is a tutorial on the site that explains everthing! We're going to do this in simple and efficient steps.
1. Open the Trigger Editor
2. Make a new Trigger(name it Quests)
At the momment it should look like this:
-
Quests
-
Events
-
Conditions
-
Actions
-
4. Now we have our variables we can start making the trigger! First we need an event, such as your hero going up to a guard or the king! Its your choice!
5. Conditions are very helpful for quests because they cannot only tell if your character is ok with the quest! But it can also say if have finished the quest!
Its your input( Im not going to show you because you should know how to make conditions! )
6. Actions! This is the bit that we make our quests!
-First we add:
-
Quests
-
Events
-
Conditions
-
Actions
-
Quest - Create a Required quest titled Your Title with the description Your discription, using icon path Your Icon
-
-
-
Quests
-
Events
-
Conditions
-
Actions
-
Quest - Create a Required quest titled Your Title with the description Your discription, using icon path Your Icon
-
Set Quest1 = (Last created quest)
-
-
To add some requirements!
-
Quests
-
Events
-
Conditions
-
Actions
-
Quest - Create a Required quest titled Your Title with the description Your discription, using icon path Your Icon
-
Set Quest1 = (Last created quest)
-
Quest - Create a quest requirement for Quest1 with the description -Do whatever
-
-
-
Quests
-
Events
-
Conditions
-
Actions
-
Quest - Create a Required quest titled Your Title with the description Your discription, using icon path Your Icon
-
Set Quest1 = (Last created quest)
-
Quest - Create a quest requirement for Quest1 with the description -Do whatever
-
Set Quest1req = (Last created quest requirement)
-
-
To make our quest complete we must add a finish! Like if your ordered to steal some items for a bandit then once the bandit has them he gives a reward and the quest is marked as finished!
We need a separate trigger!
Just name it Quest1finish
-
Quest1finish
-
Events
-
Conditions
-
Actions
-
Quest - Mark Quest1 as Completed
-
Quest - Mark Quest1req as Completed
-
-------- Reward Here --------
-
-
Other stuff
-
Quest - Display to (All players) the Quest Update message: Displays a message!
-
Quest - Destroy Quest1
-
Quest - Mark (Last created quest) as Failed
-
Quest - Mark (Last created quest) as Discovered