I am trying to make one 'salvage refund ability' for all my buildings that refund the cost of that specific building. Is this possible? (using data, not trigs)
So far, I can make one 'salvage refund ability' per each building and specifiy the refund amount.
But, I cannot find a way to make 'one' ability for 'all' buildings that reference either the cost of the unit (building) or the cost of the build ability per unit. (based on the Bunker Salvage Refund Death ability)
I can do this with trigs, but can it be done in data? Is this possible and how?
There is a flag and fraction field under the Modify Unit effect. This field was added during HOTS to allow the WC3 Transmute ability. The Effect: Salvage Factor - Resource and Effect: Modification Flags fields are what you need.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
That's exactly what was needed. I have 1 ability with 2 effects for all the buildings.
You saved me from making 80 separate abilities + 80 separate salvage effects, which includes entering/mis-entering value fields + future changes. That's a lot of work.
This was the first tech question that I have ever asked on this site too... : )
I am trying to make one 'salvage refund ability' for all my buildings that refund the cost of that specific building. Is this possible? (using data, not trigs)
So far, I can make one 'salvage refund ability' per each building and specifiy the refund amount.
But, I cannot find a way to make 'one' ability for 'all' buildings that reference either the cost of the unit (building) or the cost of the build ability per unit. (based on the Bunker Salvage Refund Death ability)
I can do this with trigs, but can it be done in data? Is this possible and how?
There is a flag and fraction field under the Modify Unit effect. This field was added during HOTS to allow the WC3 Transmute ability. The Effect: Salvage Factor - Resource and Effect: Modification Flags fields are what you need.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
It works perfectly. Thank you sooo much!
That's exactly what was needed. I have 1 ability with 2 effects for all the buildings.
You saved me from making 80 separate abilities + 80 separate salvage effects, which includes entering/mis-entering value fields + future changes. That's a lot of work.
This was the first tech question that I have ever asked on this site too... : )
Well they did add the WC3 arts mod and did add several features to allow perfect imitation of all abilities in the game.
I ended up answering my first question on this site over a year later.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg