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

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

Status
Not open for further replies.
Level 13
Joined
Feb 5, 2018
Messages
567
  • 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