DEFINE

From 3DGE Wiki
Revision as of 16:13, 8 June 2015 by Corbin (talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

#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