Dota 2 Workshop Tools/Scripting/Abilities Scripted: Difference between revisions
Jump to navigation
Jump to search
m (1 revision: Dota 2 Workshop Tools docs) |
Thunder4ik (talk | contribs) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Dead end|date=January 2024}} | |||
{{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. | ||
Line 17: | Line 21: | ||
{{shortpagetitle}} | {{shortpagetitle}} | ||
[[Category:Dota 2 Workshop Tools]] | [[Category:Dota 2 Workshop Tools]] |
Latest revision as of 10:01, 21 January 2024

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
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