Code: Select all
#library "test"
#include "zcommon.acs"
#define TEST_DEF 5
str strings[TEST_DEF] = { "one", "two", "three", "four", "five" };
Code: Select all
#include "zcommon.acs"
#import "../levels/test.acs"
Moderator: GZDoom Developers
Code: Select all
#library "test"
#include "zcommon.acs"
#define TEST_DEF 5
str strings[TEST_DEF] = { "one", "two", "three", "four", "five" };
Code: Select all
#include "zcommon.acs"
#import "../levels/test.acs"
Code: Select all
#library "test"
#include "zcommon.acs"
str strings[] = { "one", "two", "three", "four", "five" };
Nope. Now it says "Missing array size". That's not really the point anyway, because the script I once had used to work but now does not. Not sure if it's a fix, but it seems more like a bug since you can use a constant for an array size in the actual library, and in map scripts, but the map script looking at the library spits out an error.Necromage wrote:Give this a try. I am not positive if it will work but I have a hunch that it may.