Help with quests...

Calibrator

New Member
Reaction score
1
Hey guys, i saw a guide to making a quest that gives EVERYONE experience/gold, but i couldn't find a guide on how to make a quest like

-On touch, a unit gives you a quest.
-After killing X units, it tells you to go back to X (Person) but ONLY for the person who killed the unit
-Grants the person who turned in the quest XX xp and XX gold.

Main thing is that ONLY THE PERSON WHO GOT QUEST will get the reward. Thanks =D
 
The magic likely happens when you finish the quest by killing that unit. If you have some (A Unit Dies) event, then you can easily use (Owner of (Killing Unit)) to get just the player you want.
 
Do you mind if you pull out your trigger and build it for me? Im pretty new at this stuff, it would be much easier just to copy the trigger down. Thanks =D!
 
Dont have my wc3 editor on hand. in class atm.

here is what you gotta do
Ev
A unit dies
Cond
The type of unit that you want
Act
Set Boolean myUnitDead = true;


Ev
A unit is within x yards of Quest Giver
Cond
Unit == Hero
myUnitDead == true
Act
Hero give Xp to entering unit / unit within range
 
I get what your trying to do, but thats not how i want it. i need it as a REPEATABLE QUEST . Thanks though! =D! Can anyone make a bttr trigger, and with the actual editor? Sorry for being picky =/
 
> Can anyone make a bttr trigger

You certainly can. :p
What have you tried so far? What is not working about it? How about posting it here so we can take a look?
 
Well, truthfully, my triggers are fail xD. It'd be much faster if someone has a map i could copy/paste off of, or if one of you can build one real quick =D
 
Speed isn't the issue here. The point is that you actually learn something so that you can do more on your own next time. Pasting in a bunch of code that you don't understand is not nearly as beneficial as creating said code yourself. (Especially considering this is fairly simple stuff to start with.) This kind of issue is addressed in the Rules. (See the section by AceHart and the note that we are not an editing service. :))
 
Okay, fine, heres my fail trigger xD, Dont laugh if its really bad
Trigger:
  • UGH 3
    • Events
      • Unit - A unit comes within 256.00 of Villager (Male) 0080 <gen>
    • Conditions
    • Actions
      • Trigger - Turn on UGH 2 <gen>
      • Trigger - Turn on UGH <gen>
      • Floating Text - Create floating text that reads Hello, If you could... above Villager (Male) 0080 <gen> with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency



Trigger:
  • UGH 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Spider
    • Actions
      • Set BabySpider = (BabySpider + 1)


Trigger:
  • UGH
    • Events
      • Unit - A unit comes within 256.00 of Villager (Male) 0080 <gen>
    • Conditions
      • BabySpider Equal to 10
    • Actions
      • Hero - Add 20 experience to (Triggering unit), Show level-up graphics
      • Trigger - Turn off (This trigger)



Reason i dont want it is

-Its not repeatable
 
Ok, not a bad start. Now, the help. :)

Try making your triggers look something like this and see what happens (we'll get to the repeatable part):

Trigger:
  • UGH 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
      • Set BabySpider = (BabySpider + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • BabySpider Greater than or equal to 10
        • Then - Actions
          • Set ThePlayer = (Owner of (Killing unit))
          • Trigger - Turn off (This trigger)
        • Else - Actions


Trigger:
  • UGH
    • Events
      • Unit - A unit comes within 256.00 of Villager
    • Conditions
      • BabySpider Greater than or equal to 10
      • ThePlayer Equal to (Owner of (Triggering unit))
    • Actions
      • <The other stuff>
      • Trigger - Turn off (This trigger)
 
> What type of variable is ThePlayer?

It is a variable of type "Player". (How ironic. :p)

> open up your Yahoo so we can IM?

I'm online.
 
Huh? Whats your account name? I mustve put you under wrong contact o_O

It Worked =D! But now, the repeatable part, and is there a way to remove the floating Text after X Seconds? Ty so much for your help btw =D
 
you can use a Wait function or simple runs a trigger with the wait function "Exactly timed" for destroy the floating text. but you will need to set it in a Variable.
 
Ok then. For the repeatable part:

Add this to the end of the first trigger:

Trigger:
  • Trigger - Turn off (This trigger)


And then add these right after the award is given for completing the quest:

Trigger:
  • Set BabySpider = 0

Trigger:
  • Trigger - Turn on UGH 3
 
Thanks, one last thing, how do i remove the text, or make it float away ?

EDIT: One last, last thing xD, how do i put a ! mark above the villager's head?
 
For the floating text, perhaps try adding this when you give the reward (or whenever you want it to vanish):

Trigger:
  • Floating Text - Destroy (Last created floating text)


> how do i put a ! mark above the villager's head?

That would be a special effect.

Trigger:
  • Special Effect - Create a special effect attached to the overhead of (Some unit) using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/
  • The Helper The Helper:
    Happy Thursday!
  • Ghan Ghan:
    I'm not so sure, there's still a lot of Thursday left for it to become unhappy.
    +3
  • The Helper The Helper:
    still a few hours
  • The Helper The Helper:
    Its Friday!!!!
    +1
  • Ghan Ghan:
    Thursday 7/10 would Thursday again
    +3
  • The Helper The Helper:
    New forum coming soon going to be for my friend Saylor who is blind and he is doing motivational speaking and has an internet radio show and podcast. I am going to put a forum to promote him and other inspirational speaker stuff going to have some good stuff in it.
  • The Helper The Helper:
    his audio only music mix
  • The Helper The Helper:
    it just makes sense right?

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top