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

Weapon Type not found neither in JASS or GUI

Status
Not open for further replies.
Level 1
Joined
Apr 10, 2017
Messages
3
So I want to turn a melle unit into ranged with triggers. I changes its Range, Projectile art/speed, everything what a ranged needs, exept one thing. I can't find the weapon type trigger, so I can't set it to "missile" attack. I looked it up in JASS, and there is not even such code. (I used this list btw: common.j -- patch 1.31.1 | HIVE)
Sorry for the bad English
Can anyone tell me where to change unit's Weapon Type?
Would be awesome
 
Level 5
Joined
Jul 31, 2020
Messages
103
I doubt you can change the projectile art as the new natives to change string fields are pretty much all non-functional. The value will change, but the game will keep using the originals anyway.

Anyway, as far as I know there's no way of changing the weapon type at whatever weapon index. Is there anything that stops you from utilizing weapon index 1? That way you can have one melee, and one ranged attack on the unit.
 
Level 1
Joined
Apr 10, 2017
Messages
3
I doubt you can change the projectile art as the new natives to change string fields are pretty much all non-functional. The value will change, but the game will keep using the originals anyway.

Anyway, as far as I know there's no way of changing the weapon type at whatever weapon index. Is there anything that stops you from utilizing weapon index 1? That way you can have one melee, and one ranged attack on the unit.
Oh well, plan B then. It seems like World Editor is still full of suprises. This is just sad.. Thanks anyways!
 
Status
Not open for further replies.
Top