DEFINE

From 3DGE Wiki
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