• 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.

Making Quests

Status
Not open for further replies.
Level 2
Joined
Aug 11, 2008
Messages
19
just make a variable named anything set it as an integer ( with the empy box below it) then do a trigger like
Killquest
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Footman
Actions
Set A1number = (A1number + 1)

a1number == the variable name
 
Level 3
Joined
Apr 24, 2005
Messages
61
  • Events
    • Unit enters region KillQuest
  • Conditions
    • Unit is a hero equal to True
  • Actions
    • Turn Trigger 1 off
    • Create an optional quest titled Kill footies!
    • Set KillFooties = last created quest
    • Add Quest requirement: Kill 20 footmen
    • Turn Trigger 2 on
    • Turn Trigger 3 on
  • Events
    • Unit dies
  • Conditions
    • Unit type of (dying unit) equal to Footman
  • Actions
    • Set FootmanKillCount = (FootmanKillCount+1)
  • Events
    • Unit enters KillQuest
  • Conditions
    • FootmanKillCount greater than or equal to 20
  • Actions
    • Complete KillFooties
FootmanKillCount is an integer variable
KillFooties is a quest variable
You could add other types of variables to keep the quest updates neat, but that's optional eye-candy.
 
Status
Not open for further replies.
Top