Dota 2 Workshop Tools/Scripting/API/CDOTA Modifier Lua.GetTexture
< Dota 2 Workshop Tools | Scripting | API

Function Description
string GetTexture()
Return the name of the buff icon to be shown for this modifier.
- Example
function CDOTA_Modifier_Lua:GetTexture( ) end
Extra: The custom textures are in /game/dota_addons/youraddon/resource/flash3/images/spellicons
for example: your spell icon named my_icon.png,then the function GetTexture returns texture name: my_icon
Returns
string - Texture Name ,Example: return "abaddon_death_coil"