Heyy it's good to see you too!

I didn't even think about that actually, I'll have to give it a try. So I have a room with a door, and the door is a map entity which is built as part of the room level (that way it's already loaded in position when the level loads) so when the level loads, I'm doing a for loop to load all of the map sub entities and assigning them functions. But for some reason it's only working on the initial level load.

Code
for(you = ent_next(NULL); you; you = ent_next(you)) {

		doors[count] = ent_create("door.wmb", vector(you.x, you.y, you.z), door);
		count++;
   	set(you, INVISIBLE); // make entity invisible
  	}