• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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