Dota 2 Workshop Tools/Scripting/API/CDOTA Modifier Lua.GetTexture
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
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.
- 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"