I have included a very small pk3 with a titlemap, map01 with teleport to map02 and map02 with teleport back to map01 (just walk to the Exit signs)
It makes no difference if I use a gameinfo event handler (static or non static) or MAP event handlers.
Code of the EventHandler:
Code: Select all
override void PlayerEntered(PlayerEvent e)
{
if (e.IsReturn == false)
console.printf ("starting level.....");
else
console.printf ("returning level.....");
}
Tested with GZDoom 3.2 official release and devbuild g3.3pre-58-gd4ebe51