Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Fixed the spam here)
No edit summary
Line 26: Line 26:
 
Note that the expression shouldn't end in a semicolon, since all this does is wraps the provided expression in a call to a dump function.
 
Note that the expression shouldn't end in a semicolon, since all this does is wraps the provided expression in a call to a dump function.
   
[[Category: Interface Customization]]
+
[[Category: Interface Customization]]
[[Category: Community AddOns]]
 

Revision as of 11:48, 24 May 2006

AddOn
AddOn article
This page describes fan-made scripting using the World of Warcraft API which has had notable impact on the game's development/history.

The DevTools AddOn is a small addon which provides tools for developers of UI mods, particularly for examining the World of Warcraft API. It's primarily a tool I built for myself but I figured I'd share it in case it's useful to others.

Obtaining

You can download the Addon from [my download site].

Usage

The AddOn provides two slash commands.

/reload

This is just a shortcut for /script ReloadUI() - I suspect this has been done a million times before by other addons.

/dump expression

This works almost the same as /script, except that the result of the expression is printed into the default chat frame. For example:

/dump GetPlayerMapPosition("player")
DevTools: Dump GetPlayerMapPositon("player")
[1]0.43320921063423
[2]0.69365233182907

Note that the expression shouldn't end in a semicolon, since all this does is wraps the provided expression in a call to a dump function.