• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

How can i make Quest in Map Editor?

Status
Not open for further replies.
Level 6
Joined
Dec 13, 2007
Messages
213
Heres how i do it, this is only if you are gonna use multiple quests in a map.

-create a variable (icon is an X in trigger editor) create new one and name it What_ever_your_quest_is_called
-make it a quest type variable
-Make a trigger, name it what your quest is called or something.

this trigger creates the quest:
Event:
Map initialization
Condition:
Action:
-create (Undiscovered quest) quest titled (what ever) with description, the words under that decifer what icon your quest will have in the quest menu.
-Set variable (your quest variable) equal to Last created quest
(set variable is under General triggers, no quest or anything like that)

-example quest, kill bandit lord. Set trigger like this:

Receive kill bandit lord quest (name of trigger)
Event:
-unit enters enters reagion (say theres a circle of power where you receive quest)
Condition:
-triggering unit equal to (your hero unit) this is to make sure quest is not trigger by any other unit (this condition is under, unit comparision)
Action:
-mark quest (your quest will show up as your variable) as discovered.
wait
-turn on (kill bandit lord) another trigger that will say this
-turn off (this trigger)

Kill bandit lord (name of trigger) {make this trigger turn off initaily, select that under the (create new event) icon}
Event:
-Specific unit event- when bandit lord dies
Condition:
Action:
-Turn on (return to quest giver trigger)
-Turn off (this trigger)

Return to quest giver (name of trigger) (this trigger is also supposed to be off)
Event:
-When unit enters region (quest givers circle of power)
Condition:
-Triggering unit equal to (your hero unit)
Action:
-Mark (kill bandit lord) quest as completed
-Add 100 gold to (owner of triggering unit) so that way you receive 100 gold
-turn off (this trigger)

i hope this helps : )
 
Status
Not open for further replies.
Top