Adding a quest requirement to a quest

magnemann

New Member
Reaction score
5
I am currently making a quest, but I have a problem; I don't know how to add a quest requirement to a quest. I've made variables, saying that X is last created quest and Y is last created quest requirement, but how do I add the quest requirement I've made, to the quest?
 

hunterrravyn

TH.net Regular
Reaction score
19
What type of quest is it?

killing an amount of creeps?
killing a cetain creep?
getting an item and returning it?
or something else, i could probably help

(excuse my spelling word died :\)
 

hunterrravyn

TH.net Regular
Reaction score
19
Start Quest
Code:
E-Map int
C-
A- Quest - Create a Required quest titled Whatever   with the description Kill ten footmen, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
set quest = last Created Quest
Counter
Code:
E- A unit dies
C- Triggering unit = unit type of footmen
A-Set KillUnitX = (KillUnitX + 1)
Game - Display to (All players) the text: (You have killed  + ((String(KillUnitX)) + footmen))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        KillUnitX Equal to 10
    Then - Actions
        Trigger - Run finish quest <gen> (checking conditions)
    Else - Actions
Finish Quest
Code:
E-
C-
A-Mark Quest as completed
Room for awards and ect

something like that should work
by the way quest is a varible
 

magnemann

New Member
Reaction score
5
I think you've misunderstood what I wanted.
Here's a pic:




I want to add the quest requirements that I write in a trigger, for example - Travel to Strahnbrad and - Arthas must survive.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top