Dota 2 Workshop Tools/Scripting/API/CDOTA Item Lua.GetCustomCastErrorTarget
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
Function Description
string GetCustomCastErrorTarget(handle hTarget)
(HSCRIPT hTarget) Return the error string of a failed command on a target.
- Example
function CDOTA_Item_Lua:GetCustomCastErrorTarget( hTarget ) end
Parameters
| Type | Name | Description |
|---|---|---|
| handle | hTarget | No Description Set |
Returns
string - No Description Set