Critical constants - WoutProvost/FCNPC-AI GitHub Wiki
Home ▸ Constants ▸ Critical constants
Don't try to change the following constants. If you do, you might break the include.
#define FAI_VERSION The current FCNPC-A.I. version.
#define FAI_INVALID_SPELL_ID -1
#define FAI_INVALID_CAST_PROGRESS -1
#define FAI_MAX_TEXTDRAWS 8
The following constants are only created when they are not defined somewhere else before. In other words, they are wrapped in #if !defined
and #endif
. They are not prefixed with FAI_
because they are general functions that are used a lot in other scripts.
#define INVALID_TIMER_ID -1
#define INVALID_MAPICON_ID -1
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
#define strclr(%0) (%0[0] = '\0')
#define strempty(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))