Aquisition Range Trigger

Father_Yetti

New Member
Reaction score
46
I have this trigger that I can't get to work and was wondering if anyone could help.

I don't have the computer its on in front of me so this is what I remember:

Events:
Unit - learns a skill

Conditions:
If, then, else.

Actions:
If;
-learned Hero skill equal to Power Scopes
-level of power scopes for triggering unit equal to 1

then:
-Unit - set triggering unit or (learning Hero, I have tried both) acquisition range to 700.


My unit is a sniper whose range I have set all the way to 1200 however I have his acquisition range starting at 600 and would think that as the aquisition range went up it would allow his range to likewise increase? Or is something wrong with my trigger?
 

Nexor

...
Reaction score
74
you should do it with upgrade(Long Rifles) it will increase your unit's attack range
 

Father_Yetti

New Member
Reaction score
46
I appreciate it, but it can't be an upgrade as it is meant to be learned as a Hero skill through experience gain, not the purchasing of an upgrade. Thanks anyway though.
 

Father_Yetti

New Member
Reaction score
46
btw, u have to use learning hero, its a native function.

Cool, thanks Vassilev, I have tried both, however, and neither has seemed to work. By the way what does a native function mean?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Do get any effect at all, start the Hero with the largest possible acquisition range in the object editor.
And reduce it to the starting value when he enters the map.

Note though that his range is his range... just because he doesn't shoot automatically at a target outside acquisition range doesn't mean he can't shoot it at all.

And, yes, upgrades are better.
Unless, of course, one player would have several such Heroes...
 

Father_Yetti

New Member
Reaction score
46
Do get any effect at all, start the Hero with the largest possible acquisition range in the object editor.
And reduce it to the starting value when he enters the map.

Note though that his range is his range... just because he doesn't shoot automatically at a target outside acquisition range doesn't mean he can't shoot it at all.

And, yes, upgrades are better.
Unless, of course, one player would have several such Heroes...

I don't know if this is true though as I can set a heroe's acqusition rage to 900 and his range to 1800 and have yet gotten him to hit anything behond his aquisition range of 900 even though his range is greater.

So I likewise thought that I could set his range high and work up to it through changing his aquisition range per levels gained via triggers. How come this doesn't work? I can't use upgrades it has to be through the gaining of expereince and learning of levels. It's a Hero, not a unit, and needs to be treated as such.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
If his acquisition range in the object editor is, let's say, 200, that will be it...

With an object editor acquisition of 2000 and a range of 2000... it will sort of work. (reduce, the increase as needed)
However, he can shoot anything within 2000, regardless of acquisition.
He just won't shoot anything outside that range automatically.
 

Vassilev

New Member
Reaction score
39
Cool, thanks Vassilev, I have tried both, however, and neither has seemed to work. By the way what does a native function mean?

a native function is a function thats er.. the most basic and doesn't call other functions.

You see, in GUI, to make things easier for you, they code most of the GUI functions by making it call multiple various native functions for you so that you don't have to do them one by one.

Its like A is the gui function which calls B + C.

An example is:
Event response - Get Attacked unit

This function simple calls Event Response - Get Triggering Unit

which is really stupid because you could have just used Get Triggering Unit directly. But Blizzard made it so that GUI users could understand and easily know which one suits which purpose.

The reason we should call native functions instead of non-natives ones is because they are faster.

Kind of like talking to your neighbour directly instead of asking your mom to call your neighbour for you :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • 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 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