• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Need help with Quest!

Status
Not open for further replies.
Level 2
Joined
Aug 18, 2009
Messages
7
I'm making RPG and i wanted to make any quest and I don't know how to do quest, I tried with trigger and it's hard to make a quest. Can anybody help me, please?
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
Something like this:

  • Quest Create
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Quest - Create a Required quest titled Main Quest with the description This is a main quest, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Quest - Enable (Last created quest)
      • Quest - Create a quest requirement for (Last created quest) with the description Don't die
      • Quest - Create a defeat condition with the description If you die, you los...
      • Quest - Mark (Last created quest) as Undiscovered
^This creates an undicovered quest.

  • Quest Discover
    • Events
      • Time - Elapsed game time is 10.00 seconds
    • Conditions
    • Actions
      • Quest - Mark (Last created quest) as Discovered
      • Quest - Display to (All players) the Quest Discovered message: Main Quest - Do so...
      • Quest - Flash the quest dialog button
This displays the quest in quest menu. Change the event to someting else. You can also change the colour of displayed text. And if you have more than one quest, save "last created quest" to some variable, like "Quest 1", and use that instead of "last created quest".
 
Level 5
Joined
Mar 17, 2005
Messages
135
Uhh... thanks a little but i wanted to make Killing quest or Item quest.

Quest such as that is not done with the quest trigger option. You must set up various triggers to create a kill quest. I believe the question trigger function is only to display text and allert players to read what their next objective is. You can display to players what they must do on their quest by using the quest function but if you want players to actually have something happen if they kill for example 3 footman to get 400 gold.

such as,
Event: A unit dies
Condition: Dieing unit is equal to footman
Action: Footman_Dead = Footman_Dead + 1;
if Footman_Dead = 3;
Add 400 gold to owner of killing unit.

I'm sure u'll have to edit this logic to call a condtion to ask for what player is doing the killing. If you would like me to make a real example quest option let me know.
 
Status
Not open for further replies.
Top