item ability to increase range

WC3_map_fan

Member
Reaction score
3
ok, here's the gig, i got a map and you get items like an rpg, i am starting to make ranger items and i need range...

how do i make it so that the bows have range on that particular item??? if you can help, thanx much :D

i am sure their are many posts on this but i cant really find... your help would be greatelly apreciated
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
> how do i make it so that the bows have range on that particular item???

You mean, give the unit more range when it has a specific item? Impossible. The closest would be increasing Acquisition Range.
 

0zaru

Learning vJASS ;)
Reaction score
60
> The closest would be increasing Acquisition Range

That or Make an upgrade for each item (Upgrade of range) and then set the research of the upgrade to 1 when picks the items and work with that(Decreasing when you need etc...)

P.S I think that will work.. never tried.. but if it works in Melee maps (For Snipers) i think that must work.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
890
> (Decreasing when you need etc...)

Also impossible. Upgrades cannot be reduced.
 

0zaru

Learning vJASS ;)
Reaction score
60
hmm that's bad :p If you drop the item your range will still be up... =/

Then there isn't any form? Maybe have the unit with 999999999999 range and a very very little Acquisition Range, and then when having the item increase acquisition range and then when drops the item decrease it ?
 

seph ir oth

Mod'n Dat News Jon
Reaction score
262
I'll repeat my idea for your range changing (someone asked a similar question earlier today):

When a hero aquires an item such as a bow, you can replace the hero with another unit exactly like it by saving the attributes and other items in variables, removing the current hero (let's say the current hero is using a sword AKA melee), replacing it with a ranged form, and setting the ranged form's stats to the melee form (unless you want to add or remove stats for being ranged).
 

Darkchaoself

What is this i dont even
Reaction score
106
Yes, because in Custom Hero line wars, one spell adds more range.

But then again thats a spell.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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