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

Range and Splash help

Status
Not open for further replies.
Level 4
Joined
Mar 12, 2008
Messages
89
This can be that..it is making of new unit , which has that range ...if is that hero that have same items as that unit before item picked , exeprience and level too, just not learned abilities
and I made that item undroppable , beecause if it will drop this item so u must have more difficult trigger than this for it ... but if uwant it I can make it
  • Events
  • Unit - A unit Acquires an item
  • Conditions
  • Claws of attack Equal to (Item-type of (Item being manipulated))
  • Actions
  • Hero - Drop (Item carried by (Triggering unit) of type Claws of attack) from (Triggering unit)
  • Item - Remove (Last dropped item)
  • Set herolvl = (Hero level of (Triggering unit))
  • Set heroexp = (Hero experience of (Triggering unit))
  • Set heroitem = (Item carried by (Triggering unit) in slot 1)
  • Set heroitem2 = (Item carried by (Triggering unit) in slot 2)
  • Set heroitem3 = (Item carried by (Triggering unit) in slot 3)
  • Set heroitem4 = (Item carried by (Triggering unit) in slot 4)
  • Set heroitem5 = (Item carried by (Triggering unit) in slot 5)
  • Set heroitem6 = (Item carried by (Triggering unit) in slot 6)
  • Unit - Create 1 Paladin2 for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
  • Hero - Set (Last created unit) Hero-level to herolvl, Hide level-up graphics
  • Hero - Set (Last created unit) experience to heroexp, Hide level-up graphics
  • Hero - Give heroitem to (Last created unit)
  • Hero - Give heroitem2 to (Last created unit)
  • Hero - Give heroitem3 to (Last created unit)
  • Hero - Give heroitem4 to (Last created unit)
  • Hero - Give heroitem5 to (Last created unit)
  • Hero - Give heroitem6 to (Last created unit)
  • Hero - Give Claws of attack2 to (Last created unit)
  • Item - Make (Last created item) Undroppable
  • Selection - Select (Last created unit)
  • Unit - Remove (Triggering unit) from the game
Variables:heroexp - integer -experience of hero
herolvl - integer - lvl of hero
heroitem(1,2,3..6) - item - items carried by hero slots .. 1,2,3...
Paladin .. a new unit - must be same as old unit just attack range is higher
claws of attack - ur item it can be other item
claws of attack2 - same item as that but not increasing range ..

-------------------------------------------------------------
please give rep
 
Last edited:
Level 16
Joined
Oct 18, 2008
Messages
825
i know a way but its pretty difficult. You choose an item for the +range and +splash.

Then you do a trigger. And you create two unit (one without +range and the other with +range)

Event : When unit come within 1.00 range of (+splash item)

Action : Kill triggering unit
Create 1 (+range unit) for owner of triggering unit at position of (triggering unit) facing 0 degrees.

Hope you understand coz it works for me :)
 
Level 34
Joined
Jul 4, 2007
Messages
5,552
What you can try is to add Metamorphosis to the item which triggers/turns your unarmed hero into an armed hero, for example a Shotgunner. And off course, when you drop the item, the Metamorphosis ends.

Seen it loads of times.
 
Level 11
Joined
May 31, 2008
Messages
698
Just set the range of the hero to max and use this trigger to change aquisition range. This should work. I tested the aquisition range thing and if the aquisition range is lower than the range, the range will be set as the aquisition range. And as far as the splash for ranged attacks goes, the Orb of Fire ability give splash damage, even for ranged units. But the splash only does whatever the bonus damage is, like if this item give 10 bonus damage, the splash will only do 10 damage.

  • range
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Orb of Range
    • Actions
      • Unit - Set (Hero manipulating item) acquisition range to ((Current acquisition range of (Hero manipulating item)) + 500.00)
  • range2
    • Events
      • Unit - A unit Loses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Orb of Range
    • Actions
      • Unit - Set (Hero manipulating item) acquisition range to ((Current acquisition range of (Hero manipulating item)) - 500.00)
 
Level 11
Joined
May 31, 2008
Messages
698
you have to do arithmetic so you can add values together.
you can also divide, multiply, and subtract as many values as you wat with arithmetic. when you do the (Current acquisition range of (Hero manipulating item)) part you have to scroll all the way up on that bar and arithmetic will be the first choice then it should say (1.00 + 1.00) just substitute the 1.00 with what values you need. you can also click the + and change to -, /, x
 
Level 12
Joined
Mar 16, 2006
Messages
992
You can increase attack range with items.

Using the human rifleman upgrade(permanent), or by making attack range MASSIVE and setting the auto-acquisition to the range you want. So even if you have a 2000 range hero, his attack range will be whatever his acquisition range is. Which can be boosted with items/triggers easily.

At least, that's how I'm using it.
 
Level 11
Joined
Dec 31, 2007
Messages
780
why dont you use a research that comes with the item and makes the unit to upgrade when the item is picked? that way you are gonna increase your range (for splash damage in range you might use orb of fire) but i if you drop the item the increased range will still be there... coz it is an upgrade upgraded via trigger... perhaps you can use that
 
Status
Not open for further replies.
Top