I am defining an enum in class 1, like this:
NPC Code:
enum FOO {
VAL_1,
VAL_2
}
then in another class I do:
NPC Code:
join("class 1");
this.chat = FOO.VAL_2;
and the chat text of NPCs of that class gets set to 0. Why is it not 1, ie. why is the enum not coming into scope by having the surrounding class joined?
Edit: Same with "const" constants, actually.