⚠ Cookies ⚠

By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.

Projects

AGS EditorScripts#else command not working, but marked as a proper one
Crimson WizardIn AGS Script "#else" preprocessor definition does not work, at all.
If you do following -
[code=ags]
#ifdef DEFINE_SOMETHING
< code >
#else
< different code >
#endif
[/code]
"#else" will be treated as a part of "#ifdef" block.

However, #else is marked out by script editor as if it were a proper preprocessor definition.

Solutions:
1) Quick fix: stop marking it out as a known script command;
2) Properly implement #else preprocessor command.
© Adventure Game Studio 2024. Page design by loominous and Darth Mandarb; coding by AGA.
Page generated on 07 May 2024 at 03:37:14