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

Acquisition range

Status
Not open for further replies.
Level 1
Joined
Oct 24, 2010
Messages
2
I am trying to change acquisition range in game by trigers to decrease unit range of attack. But this range do not changes. Could anybody explain me how it works? Or maybe anybody knows other ways to change unit attack range. Thanks.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Can it be possible to de-upgrade an upgrade ?
If you take Long Gun upgrade for example
Can we negatified the values ? (Hold Shift + Double Click/Enter)
Does the range first be upgraded from 400 -> 600
Then, if we use the de-upgraded upgrade, it becomes from 600 -> 400 back... ?
 
Level 19
Joined
Oct 12, 2007
Messages
1,821
Not sure, but I think you can change a unit's acquistion range by triggers.
Just set his attack range to your highest amount (in this case 600) and his acquistion to 400. Then you can change his acquistion range to 600 and back to 400 all the time.
(Just a guess though)
 
Level 19
Joined
Oct 12, 2007
Messages
1,821
If acquistion range is lower then the attack range of a unit, the attack range will be set to the acquistion range.
Unit has 600 Acq Range and 1000 ATK range, then his real atk range will be set to 600. So I guess if you set the acq range to 800 then ingame, his attack range will also be set to 800 as long as his attack range (in the object editor) was set to a value equal to 800 or above 800.
 
Level 9
Joined
Jul 27, 2010
Messages
581
Lol, acquisition range is the range where a unit acquires a target to attack

if the acquisition range is 400, it automatically tries to attack any enemy within 400 range unless of course your unit is melee and doing the hold command.

attack range is different, attack range is the distance your unit can attack from to that target. If a unit's attack range is 300, it can attack enemies 300 range away

you cannot change attack range in triggers, only acquisition range

edit:
oh wait the awesome Pharaoh already told you that
 
Level 19
Joined
Oct 12, 2007
Messages
1,821
Yes you guys are right BUT.
Changing the attack range is where this issue is about. Not about changing the acquistion range.
I don't know if you guys already understood me but isn't it an option to per example set the unit's atk range to 3000, then set his Acq range to like 400. Then when you want to increase his "atk range" just set his acq range to 600. Because attack range cant be higher then the acq range so ingame it will be set to the same amount.
 
Level 9
Joined
Jul 27, 2010
Messages
581
Yes you guys are right BUT.
Changing the attack range is where this issue is about. Not about changing the acquistion range.
I don't know if you guys already understood me but isn't it an option to per example set the unit's atk range to 3000, then set his Acq range to like 400. Then when you want to increase his "atk range" just set his acq range to 600. Because attack range cant be higher then the acq range so ingame it will be set to the same amount.

hmm, sorry teuncreemers that I wasnt replying to your question because it thought you should be speaking of it on another thread. Anyways, having a higher range than an acquisition range is possible I think(I am on a computer without Warcraft), if you have acquired a target for 400 acquisition range and your range is 3000 range yet continuously kept sight on it you can shoot it in that 3000 range without affecting anything

If this answer is not what you're talking about inform me again. ^_^
 
Level 19
Joined
Oct 12, 2007
Messages
1,821
hmm, sorry teuncreemers that I wasnt replying to your question because it thought you should be speaking of it on another thread. Anyways, having a higher range than an acquisition range is possible I think(I am on a computer without Warcraft), if you have acquired a target for 400 acquisition range and your range is 3000 range yet continuously kept sight on it you can shoot it in that 3000 range without affecting anything

If this answer is not what you're talking about inform me again. ^_^

I once found out that that's not possible. (which is also in that map i added).

JASS:
If AttackRange > AcquistionRange then
set AttackRange = AcquistionRange
endif

Haha.. that's what basically happens:p
 
Hey guys,

I've worked a lot with such questions. Here is what I got:

There is no good way to make attackranges customizeable, except triggering them (which I did).

Aquisition range also works for spells, so if aquisition range == 500 and spellrange == 600 the unit will autocast (if enabled) spells on enemies in that range.

I guess you can use a projectile engine and trigger your attack, but I doubt that is what you were looking for.
 
Summarize...

You can't change attack range, except with triggers that increase an upgrade level. The upgrade level, however, can not be lowered.
eg. You cast an ability called 'Very Good Eyesight'. You make a trigger that increases the level of 'Long Rifles' upgrade level, thus increasing the caster's range by 200. However, you can not decrease the level of that upgrade, so you can never take away 200.
 
Status
Not open for further replies.
Top