• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Quest?

Status
Not open for further replies.
Level 5
Joined
Oct 22, 2008
Messages
156
Hello Gamers....
I got some problems with making my quest....
I can make the quest, so it will be shown in the quest menu In-game....
But when i try to make a complete sign for it In-game, i can't find the quest??
it's Just saying " Last Created Quest "?

- So, i want to know how to make a real quest, and how to put a complete sign in, when you move to a region ....

- thanks :hohum:
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
When creating the quest, assign it to a variable.
Create a "quest" and "quest requirement" variable (both with arrays), when you create the quest, set Quest[X] = Last Created Quest and Quest_Requirement[X] = Last Created Quest (the X is the number of the quest).

When the quest is finished (when the region is entered), you simple need to do "Mark Quest[X] as completed", the same goes for the quest requirement.

I hope this helped ;)
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Sure...

Create quests Trigger:

  • Init
    • Events
      • Time - Elapsed game time is 0.10 seconds
    • Conditions
    • Actions
      • Quest - Create a Required quest titled Region with the description [Quest Description], using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Set Quest[1] = (Last created quest)
      • Quest - Create a quest requirement for (Last created quest) with the description Enter the Region
      • Set QuestReq[1] = (Last created quest requirement)
      • Quest - Create a quest requirement for (Last created quest) with the description Go back to some unit
      • Set QuestReq[2] = (Last created quest requirement)
      • Quest - Display to (All players) the Quest Discovered message: Quest Discovered
      • Trigger - Turn on Update Quest <gen>

Update quest Trigger:

  • Update Quest
    • Events
      • Unit - A unit enters [Your Region]
    • Conditions
    • Actions
      • Quest - Display to (All players) the Quest Update message: Quest Updated
      • Quest - Mark QuestReq[1] as Completed
      • Trigger - Turn off (This trigger)
      • Trigger - Turn on Finish Quest <gen>

Finish quest Trigger:

  • Finish Quest
    • Events
      • Unit - A unit comes within 250.00 of [Quest Unit]
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Quest - Display to (All players) the Quest Completed message: Quest Completed
      • Quest - Mark Quest[1] as Completed
      • Quest - Mark QuestReq[2] as Completed
      • Trigger - Turn off (This trigger)

Variable NameVariable TypeInitial Value

Quest
Quest Array (1)- None -

QuestReq
Quest Requirement Array (1)- None -

Thisi s very basic, but it shows how you need to set up each quest.
 
Status
Not open for further replies.
Top