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

Help Dialog & Quest

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Hi everyone,can someone help me?
I want that when I click on a unit in Town the unit gives me a quest (and how to make the exclamation point above him like all RPG)
And to have a reward I have to "give" him an item,but I have no idea about those triggers,need help please.
 
Level 14
Joined
Nov 17, 2010
Messages
1,266
  • Create Effect
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Special Effect - Create a special effect attached to the overhead of MyUnit using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
      • Set SpecialEffect = (Last created special effect)
  • Select Unit
    • Events
      • Player - Player 1 (Red) Selects a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to MyUnit
        • Then - Actions
          • Trigger - Turn off (This trigger)
          • Special Effect - Destroy SpecialEffect
          • Quest - Create a Required quest titled My Quest with the description Quest Description, using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
          • Set MyQuest = (Last created quest)
          • Quest - Mark MyQuest as Discovered
        • Else - Actions
Note these are very basic and you will obviously have to tweak them to suit your needs, but hopefully this will be enough to get you started. Look around the trigger editor for a bit and eventually you'll figure stuff out

Good luck
 
Status
Not open for further replies.
Top