This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Is it possible to swap a unit/building's model when it's on a certain HP amount?
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
Have a look at the State Monitor actor type and associated validators. It's what buildings use when they catch fire; I would reference those and change the actions to perform a model swap in place of adding the fire models.
Custom Campaign Initiative | Mapster Community Project: Data Wizards
Starcraft II: Unsung Rebels, a custom campaign for Starcraft II
SC2Saver, a way to create saved games via trigger
Frustrated with the editor and would like answers in real time? Join the SC2Mapster Discord!
Thanks Baneling. I'll look into it.
@GnaReffotsirk: Go
You can also attach validators to actor events so you could have something like "hp < 1/2" >> model swap
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
A state monitor is probably easier in this situation.
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
Is it possible to swap a unit/building's model when it's on a certain HP amount?
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
Have a look at the State Monitor actor type and associated validators. It's what buildings use when they catch fire; I would reference those and change the actions to perform a model swap in place of adding the fire models.
Custom Campaign Initiative | Mapster Community Project: Data Wizards
Starcraft II: Unsung Rebels, a custom campaign for Starcraft II
SC2Saver, a way to create saved games via trigger
Frustrated with the editor and would like answers in real time? Join the SC2Mapster Discord!
Thanks Baneling. I'll look into it.
Whatever you do, wholeheartedly, moment by heartfelt moment, becomes a tool for the expression of your very soul.
@GnaReffotsirk: Go
You can also attach validators to actor events so you could have something like "hp < 1/2" >> model swap
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
A state monitor is probably easier in this situation.
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