Difference between revisions of "DEFINE"

From 3DGE Wiki
Jump to: navigation, search
(Created page with "<div class="content"> = #DEFINE = '''Usage:'''<br /> #DEFINE <identifier> <value> '''Description:'''<br /> This is used to define things to use globally in your...")
 
(No difference)

Latest revision as of 16:13, 8 June 2015

#DEFINE

Usage:
#DEFINE <identifier> <value>

Description:
This is used to define things to use globally in your script. It should be at the top of your script, but below #CLEARALL (if used).

Details:
The <identifier> is any name up to 80 characters long.
The <value> could be an offset value for your RTS tips.

Example:

 #DEFINE TIPX 12%
 #DEFINE TIPY 12%
 
 TIP_SET_POS TIPX TIPY  //the constants we #defined