There is a bug in the Level Editory Mode. It deals with NPCs. In case Stefan reads this thread, I will explain everthing in detail. I made this level called mines00.graal. I finished it, and started work on mines01.graal. I wanted to use the lights from mines00.graal, so I copied the npc to mines01.graal. Then, I right-clicked the npc and made multiple copies of it and positioned them in different places in the level. I ran the level, and they blinked once and stopped working. Here is the light code:
NPC Code:
// NPC made by Boco
//#CLIENTSIDE
if (playerenters || created) {
dontblock;
drawaslight;
setcoloreffect 1,1,0,0.5;
timeout=0.1;
}
if (timeout) {
if (this.flash) {
unset this.flash;
setzoomeffect 1.25;
} else {
set this.flash;
setzoomeffect 1;
}
timeout=0.1;
}
I was perplexed, because this was an EXACT copy of the light npc's in mines00.graal, which worked perfectly. I went back and forth through the levels through the link I made, and the light npc's in mines00.graal worked, and the ones in mines01.graal didn't. Now for the confusing part. I right-clicked on of the lights in mines01.graal and created another light npc. The lights suddenly worked! Then I deleted the npc. The lights stopped working.
If anybody wants to try it out, I attached the level. Don't worry about the blank npcs. They are just little rocks that add detail.