• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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 39
Joined
Feb 27, 2007
Messages
5,031
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.
 
Level 17
Joined
Mar 21, 2011
Messages
1,597
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