I'm trying to use ObjectMerger to create large amounts of generic abilities to be trigger-based to do things. This worked fine when I was basing them all off of thunderclap, until I realized that all of my abilities triggered off when one was cast. So I decided to try basing them off of channel and now I cannot get them to be visible on a unit that I'm adding them to.
When putting in the options, using ncl3 1 1, it sets it to 49, which is visible, and universal cast. Not sure why. I manually re-set a few to 1 just in case it's part of the issue.
I've tried hero and non-hero (the unit happens to be a hero)
I've tried adding it to the unit via object editor and through triggers
I'm not sure what else there is to do. Ask and I've probably tried it. Any ideas?
When putting in the options, using ncl3 1 1, it sets it to 49, which is visible, and universal cast. Not sure why. I manually re-set a few to 1 just in case it's part of the issue.
I've tried hero and non-hero (the unit happens to be a hero)
I've tried adding it to the unit via object editor and through triggers
I'm not sure what else there is to do. Ask and I've probably tried it. Any ideas?
Code:
//! textmacro CreateBonusAbilityAgi takes LEVEL
//! external ObjectMerger w3a ANcl ab$LEVEL$ anam "Summon Move Bonus Level $LEVEL$" alev 1 abpy 2 abpx 1 acat " " aeat " " atat " " aart "ReplaceableTextures\CommandButtons\BTNBootsOfSpeed.blp" arar "ReplaceableTextures\CommandButtons\BTNBootsOfSpeed.blp" amcs 1 0 ahky X atp1 1 "(|cffffcc00X|r) Upgrade Move Bonus - Level $LEVEL$" aub1 1 "(|cffffcc00$LEVEL$00 Gold|r) Each level acquired gives your summoned units 1 movement speed bonus." aher 0 Ncl1 1 0 Ncl5 1 0 Ncl3 1 1
//! endtextmacro
//! runtextmacro CreateBonusAbilityAgi("01")
//! runtextmacro CreateBonusAbilityAgi("02")
//! runtextmacro CreateBonusAbilityAgi("03")