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

From Valve Developer Community
Jump to: navigation, search
Note.png Note:  This page is automatically generated. Any changes may be overwritten

Function Description

string GetTexture()

Return the name of the buff icon to be shown for this modifier.

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


string - Texture Name ,Example: return "abaddon_death_coil"