Difference between revisions of "Dota 2 Workshop Tools/Scripting"

From Valve Developer Community
Jump to: navigation, search
m (Scripting Abilities)
m (Common Techniques)
Line 20: Line 20:
 
* [[Dota 2 Workshop Tools/Scripting/Dedicated VConsole Log Viewer|Dedicated VConsole Log Viewer]]
 
* [[Dota 2 Workshop Tools/Scripting/Dedicated VConsole Log Viewer|Dedicated VConsole Log Viewer]]
 
* [[Dota_2_Workshop_Tools/Scripting/Listening_to_game_events|Listening to Game Events]]
 
* [[Dota_2_Workshop_Tools/Scripting/Listening_to_game_events|Listening to Game Events]]
 +
* [[Dota_2_Workshop_Tools/Script_Filters|Script Filters]]
 +
* [[Dota_2_Workshop_Tools/Custom_Game_Events|Custom Game Events]]
 +
* [[Dota_2_Workshop_Tools/Custom_Nettables|Custom Nettables]]
  
 
== Reference ==
 
== Reference ==

Revision as of 01:18, 23 August 2016

Русский 简体中文

Scripting in Dota 2 is handled by the VScript virtual machine using 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

The documentation presented here assumes basic knowledge of Lua. If you're new to programming and Lua it's worth spending some time at the official Lua website learning some of the basic concepts. Additional resources are available at the bottom of the page for new users.

Scripting Abilities

Common Techniques

Reference

Examples

Lua Resources

See Also

VScript