Dota 2 Workshop Tools/Scripting/Abilities Scripted: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{lang|Dota 2 Workshop Tools/Scripting/Abilities Scripted}} | ||
| | |||
}} | |||
It is possible to call Lua script functions when abilities are used to create even more interesting unique abilities. | It is possible to call Lua script functions when abilities are used to create even more interesting unique abilities. | ||
Revision as of 09:21, 25 November 2022
It is possible to call Lua script functions when abilities are used to create even more interesting unique abilities.
"OnSpellStart"
{
"RunScript"
{
"ScriptFile" "custom_scripted_abilities.lua"
"Function" "Punch"
"Target" "POINT"
}
}
ScriptFile
- Specifies the Lua file where the function residesFunction
- Function name to call