• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Setting unit weapon integer field still not fixed?

Status
Not open for further replies.
Level 12
Joined
Feb 5, 2018
Messages
521
  • Unit - Set Unit: CreepUnitBonus[CreepCustomValue]'s Weapon Integer Field: Attack Damage Base ('ua1b')at Index:0 to Value: ((Base Damage of CreepUnitBonus[CreepCustomValue] for weapon index 0) x 3)
So this is still not working? Or anybody know a work around how to do this.

EDIT: I got it working, it's wierd that the other is 0 and the other is 1.
Meaning that the index at the variable that is 0 is actually 1.

  • Set VariableSet DoomModeDmgBonus[CreepCustomValue] = ((Base Damage of CreepUnitBonus[CreepCustomValue] for weapon index 0) x 3)
  • Unit - Set Unit: CreepUnitBonus[CreepCustomValue]'s Weapon Integer Field: Attack Damage Base ('ua1b')at Index:1 to Value: DoomModeDmgBonus[CreepCustomValue]
 
Last edited:
Status
Not open for further replies.
Top