WoWBench/Getting started: Difference between revisions

demoted headings
No edit summary
 
(demoted headings)
Line 3: Line 3:
{{tocright}}
{{tocright}}


= Starting WoWBench =
== Starting WoWBench ==
<div style="margin-left: 3%;">
<div style="margin-left: 3%;">


== Example startup ==
=== Example startup ===
<div style="margin-left: 3%;">
<div style="margin-left: 3%;">


Line 93: Line 93:
</div>
</div>


== Command line arguments ==
=== Command line arguments ===
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 110: Line 110:
</div>
</div>


== Loading AddOns ==
=== Loading AddOns ===
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 126: Line 126:
</div>
</div>


= The WoWBench prompt =
== The WoWBench prompt ==
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 144: Line 144:
:: {{Code|click MyAddOnMainFrameIWinButton}}
:: {{Code|click MyAddOnMainFrameIWinButton}}


== How to interact with things ==
=== How to interact with things ===
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 150: Line 150:




=== Looking at the world ===
==== Looking at the world ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 177: Line 177:
</div>
</div>


=== Interacting with units and objects ===
==== Interacting with units and objects ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 203: Line 203:
</div>
</div>


=== Looking at frames ===
==== Looking at frames ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 232: Line 232:
</div>
</div>


=== Summary of interaction commands ===
==== Summary of interaction commands ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">
{{infobox|'''Behind the scenes:''' Internally to WoWBench, a game-world object is just another UI object with event handlers.
{{infobox|'''Behind the scenes:''' Internally to WoWBench, a game-world object is just another UI object with event handlers.
Line 247: Line 247:
</div>
</div>


== More commands ==
=== More commands ===
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


=== Firing events ===
==== Firing events ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 294: Line 294:
</div>
</div>


=== Logging in multiple players ===
==== Logging in multiple players ====
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 331: Line 331:
</div>
</div>


= How to use the built-in debugger =
== How to use the built-in debugger ==
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Line 341: Line 341:
</div>
</div>


= More =
== More ==
<div style="margin: 0 0 1em 2%;">
<div style="margin: 0 0 1em 2%;">


Anonymous user