Dota 2 Workshop Tools/Scripting: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
在DOTA2中,使用Lua作为它的脚本语言。Lua脚本将Dota2加载你的addon时被调用,这些脚本可以处理游戏中大部分方面的内容。脚本可以控制发生在游戏中的事件,游戏规则,技能,如何与英雄相互影响,小兵,AI,等等。
Scripting in dota2 is handled in Lua.Lua will be lanuch at run time when dota2 loading your addon and can manipulate most facets of game.Scripts can control the events hapen in game mode,game rules,abblities,how interact with hero,creeps,AI,etc..
== Getting Started ==
== Getting Started ==
* [[Dota 2 Workshop Tools/Scripting/Getting Started|Getting Started]]
* [[Dota 2 Workshop Tools/Scripting/Getting Started|Getting Started]]

Revision as of 18:00, 10 August 2014

Scripting in dota2 is handled in Lua.Lua will be lanuch at run time when dota2 loading your addon and can manipulate most facets of game.Scripts can control the events hapen in game mode,game rules,abblities,how interact with hero,creeps,AI,etc..

Getting Started

Scripting Abilities

Common Techniques

Reference

Lua Resources