Scripting

From Valve Developer Community
Jump to navigation Jump to search

Scripting in Dota 2 is handled by the Lua programming language. Lua will be launched at run time when Dota 2 loads your add-on and can manipulate most facets of the game. Scripts can control the events that happen in game modes, game rules, abilities, hero interactions, neutrals , AI, and many more.

Getting Started

Scripting Abilities

Common Techniques

Reference

Examples

Lua Resources

Sublime Text 2/3 Snippets for all functions