GetCompileFlag

From UODemo Wiki
Revision as of 09:40, 8 September 2010 by Batlin (talk | contribs) (Created page with 'integer '''getCompileFlag'''(string ''Flag''); This function returns information about how the core was compiled. If an invalid flag is given the function will return 0. Flag 1…')

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

integer getCompileFlag(string Flag);

This function returns information about how the core was compiled. If an invalid flag is given the function will return 0.

Flag 1: returns 1 and indicates "The new reputation system"
Flag 2: returns 0 and indicates "No requirement check to buy ship/house deeds"
Flag 3: returns the publish number of UoDemo+ as of Publish 16 (older releases will return 0)

NOTE: Flag 2 is only checked by these 3 scripts : housedeed, multistuff, shipdeed.


Return to the Command List.