This shows you the differences between two versions of the page.

Link to this comparison view

modding_tips [2012/07/08 21:49] (current) created
Line 1: Line 1:
 +====== Getting Started ======
 +Some useful tips when you start modding
 +===== Debug Mode =====
 +Adding the line
 +to the USER.TXT file in My Documents/My Games/BBCBA will turn on debug mode, which adds additional tooltips, logging, and other useful info.
 +===== Script Tools =====
 +Editing scripts is much easier if you grab the recommended tools.  You get syntax highlighting, bracket checking, and it's all free!
 +===== Script Logging =====
 +You can get your scripts to output information to a debug text pane.  You do this by using the Log function in the script.
 +Log("Checking", GetUnitX(id), GetUnitY(id), GetUnitActive(id), GetTileLOS(GetUnitX(id), GetUnitY(id), 1)) ;
 +Note that a logging call can have between 0 and 4 numeric values after the description string, which will be output to the debug pane.  To toggle the debug pane, hit F6 when in battle.
modding_tips.txt · Last modified: 2012/07/08 21:49 by
Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki