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

[General] Attack Range(ua1m) is actually missle art?

Status
Not open for further replies.
Level 5
Joined
Dec 25, 2018
Messages
110
  • Unit - Set Unit: (Triggering unit)'s Weapon Real Field: Attack Range ('ua1m')at Index:0 to Value: 1600.00
I never noticed those 'Unit - Set trigger' before, are they new?
I tried to change my units attack range with it and it doesn't work, I checked object data and 'ua1m' is refrence to missle art, is this mistake from blizzard?

(I know how to increase unit's attack range with other methods, just wondering about above)
 
Level 17
Joined
Mar 21, 2011
Messages
1,611
These functions are relatively new, yes. Gimli is likely correct that it’s an error that will be fixed in a future patch.

You could access the function with JASS or Lua and give it the proper argument for attack range to see if it works or not.

there are faulty jass natives aswell. it might not be about the BJ function

Edit:
there seems to be a problem with
JASS:
constant native ConvertUnitWeaponRealField              takes integer i returns unitweaponrealfield
not converting correctly
 
Last edited:
Status
Not open for further replies.
Top