• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Tower Range Increase

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
Is it possible to make it so, you can increase the range of a specific tower? Or will i have to make another set of towers? Cause I would rather not make 2 of all my units i have in my game =/ (I want it to upgrade it for 1 of the units, not all of the units that type)
 
hmmm... this seems like a troubling issue, but i guess the range/acquiring range idea would work... the towers would just begin to acquire the enemies at their range, and not see the units and have a shot ready for them when they get in range... i dunno, if the player just can click 'attack' and then choose a visible unit... and then fire anywhere on the map. i would say the safe version, is, to make more towers, with just different ranges. i'm not sure, i might be able to find a solution...

But i'm guessing a trigger looking like this would work... it was made entirely out of mind, without the trigger at hand, and i hope you get the picture

  • Rangetrigger
  • Event
    • A unit is attacked
  • Conditions
  • Actions
    • If/then/else multiple actions
      • If
        • Attacked unit is in within 800 range (if the normal have 600 e.g) of attacking unit
      • Then
        • If/Then/Else multiple actions
          • If
            • Attacking unit is in unit group (towers with this skill)
          • Then
            • Do nothing
          • Else
            • Order (attacking unit) to (stop)
        • Else
          • Do nothing
 
Status
Not open for further replies.
Back
Top