- Joined
- May 31, 2019
- Messages
- 150
I'm talking about the 'Set Unit Integer/Real/Bool/Whatever Field' actions. In particular I'm trying to set the cooldown of a unit. This is found under a 'Set Unit Weapon Real Field' where you specify the index. I tried relatively high numbers so it would be obviously very slow (5.00 and 20.00) at Index 0, 1, and 2, and the unit would always end up having its normal attack speed. Tried putting some debug messages right before the action to ensure it's reaching the code, and indeed it is, just not executing it apparently.
Has anyone had any luck getting these new actions to work? If so, how?
EDITS:
Tried another, setting the green vertex value to 0, but it still had no effect (I know there's an existing action to change vertex coloring, I'm just trying to test the new ones).
Tried setting a string field for a pre-placed units (before I had it running for trained units) and it worked. So maybe it only works for pre-placed units? That would be unfortunate if so.
The color vertex action affected a pre-placed unit... (goblin merchant) but only its portrait, not the main model itself.
The aformentioned weapon cooldown modifier action did not affect a pre-placed wolf creep.
'Attack Rate' does work though.
Some 'Ability Integer/Real/etc. Field' actions work for some abilities, but some don't.
Examples I've experienced: Life Drain 'Hit Points Drained' does not work, but Soul Burn 'Damage Amount' does.
Has anyone had any luck getting these new actions to work? If so, how?
EDITS:
Tried another, setting the green vertex value to 0, but it still had no effect (I know there's an existing action to change vertex coloring, I'm just trying to test the new ones).
Tried setting a string field for a pre-placed units (before I had it running for trained units) and it worked. So maybe it only works for pre-placed units? That would be unfortunate if so.
The color vertex action affected a pre-placed unit... (goblin merchant) but only its portrait, not the main model itself.
The aformentioned weapon cooldown modifier action did not affect a pre-placed wolf creep.
'Attack Rate' does work though.
Some 'Ability Integer/Real/etc. Field' actions work for some abilities, but some don't.
Examples I've experienced: Life Drain 'Hit Points Drained' does not work, but Soul Burn 'Damage Amount' does.
Last edited: