• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!

[General] Can you edit a units attack range in editor?

Status
Not open for further replies.
Level 7
Joined
Apr 26, 2015
Messages
125
Howdy there! just a quick question.... I'm not very smart when it comes to complex triggers, but I noticed in the latest patch "1.31" they added a bunch of new triggers and functions in the editor.... I was just wondering, is there a way now, through triggers where you can add and subtract a units attack range?

All the hero in my game are melee, but I have a Job system where for example, if a Hero picks up a "Gunner Job" it adds gunner ability'.
What I want is- If the item "Gunner lvl1 is in their inventory in the first slot, it changes the units attack range from 200...to maybe 700. and when it's not in the first slot, it's brought back down to 200.....

I know you can't really do this in the previous patches, but I noticed a lot more new unit functions in the trigger editor this time around...Soooo.. is there a way to do this now? :p thanks!
 
Status
Not open for further replies.
Top