Closed tdauth closed 3 months ago
Update to https://www.hiveworkshop.com/threads/getmainselectedunit.325337/#post-3597445 so it supports savegames.
The system should provide sound sets and let them be shared between unit types and units:
function AddUnitSoundSet takes string filePrefix returns integer
function EnableUnitSoundSetForUnitType takes integer unitTypeId, integer unitSoundSet returns nothing
function DisableUnitSoundSetForUnitType takes integer unitTypeId, integer unitSoundSet returns nothing
function GetUnitSOundSetForUnitType takes integer unitTypeId returns integer
function EnableUnitSoundSetForUnit takes unit whichUnit integer unitSoundSet returns nothing
function DisableUnitSoundSetForUnit takes unit whichUnit, integer unitSoundSet returns nothing
function GetUnitSoundSetForUnit takes unit whichUnit returns integer
Support BlzGetUnitSkin.
Done.
System: https://www.hiveworkshop.com/threads/barad%C3%A9s-unit-sound-sets-1-0.350901/
Use the custom soundset system and start with High Elf Footman since it is not too big.
How to play talk animation without hiding stuff: https://www.hiveworkshop.com/threads/playing-portrait-talk-animation-without-hiding-hp-and-mana-or-showing-message.350900/
https://www.hiveworkshop.com/conversations/portrait-frame.352069/
https://www.hiveworkshop.com/threads/getmainselectedunit.325337/
Store the type of portrait animations with an extra key:
Disadvantages:
Advantages:
Unit sound sets:
Heroes of the Storm has many different soundsets: https://heroesofthestorm.fandom.com/wiki/Gul%27dan/Quotes