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
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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.
 

Calibrator

New Member
Reaction score
1
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!
 

Axe.killer

New Member
Reaction score
24
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
 

Calibrator

New Member
Reaction score
1
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 =/
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> 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?
 

Calibrator

New Member
Reaction score
1
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
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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. :))
 

Calibrator

New Member
Reaction score
1
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
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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)
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> 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.
 

Calibrator

New Member
Reaction score
1
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
 

eclypt

New Member
Reaction score
4
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.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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
 

Calibrator

New Member
Reaction score
1
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?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
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.
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Sticking with the desserts for now the latest recipe is Fried Apple Pies - https://www.thehelper.net/threads/recipe-fried-apple-pies.194297/
  • The Helper The Helper:
    Finally finding about some of the bots that are flooding the users online - bytespider apparently is a huge offender here - ignores robots.txt and comes in from a ton of different IPs

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top