• 🏆 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!

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