WoW:Lua basics: Difference between revisions

m
no edit summary
No edit summary
 
mNo edit summary
Line 1: Line 1:
{{Accuracy|Needs to have more lua file specific info. A bit too general.}}
{{Accuracy|Needs to have more lua file specific info. A bit too general.}}
{{wowlua}}
{{UIHowTo}}
The ''[[World of Warcraft]]'' game client provides many functions available for use in '''[[Lua]] script files''' provided by [[AddOn]]s. These functions are the WoW API, are also used by [[Blizz]]ard to build the game client interface. They allow addons to query information about the player and the game world, to receive notifications (events) when the player interacts with the game world, and to  trigger player actions like changing target, casting spells, using professions, using vehicles, joining a group, etc.
The ''[[World of Warcraft]]'' game client provides many functions available for use in '''[[Lua]] script files''' provided by [[AddOn]]s. These functions are the WoW API, are also used by [[Blizz]]ard to build the game client interface. They allow addons to query information about the player and the game world, to receive notifications (events) when the player interacts with the game world, and to  trigger player actions like changing target, casting spells, using professions, using vehicles, joining a group, etc.