Difference between revisions of "Dota 2 Workshop Tools/Scripting"
(→Common Techniques) |
|||
Line 13: | Line 13: | ||
* [[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/Simple Trigger that calls Lua| Simple trigger that calls Lua]] | * [[Dota 2 Workshop Tools/Scripting/Simple Trigger that calls Lua| Simple trigger that calls Lua]] | ||
+ | * [[Dota 2 Workshop Tools/Scripting/Abilities Scripted Example| Moderate example on data driven item that drops upon death]] | ||
== Reference == | == Reference == |
Revision as of 07:13, 11 August 2014
Scripting in dota2 is handled in Lua.Lua will be lanuched at run time when dota2 loading your addon and can manipulate most facets of game.Scripts can control the events that happen in game mode,game rules,abblities,how they interact with hero,creeps,AI,etc..
Getting Started
Scripting Abilities
Common Techniques
- Thinkers
- Console Commands
- Dedicated VConsole Log Viewer
- Simple trigger that calls Lua
- Moderate example on data driven item that drops upon death
Reference
- Dota 2 Scripting API
- Dota 2 Scripting Constants
- Built-In Engine Events
- Built-In Ability Names
- Built-In Modifier Names
- Heroes Internal Names