For me the best if its kind would be the Warcraft 3 world editor which comes with the game itself. Its the one which Eul, Guinsoo and Icefrog used to make the DotA wc3 map. We (modders) used it to create all kinds of maps playable within wc3 from simple mini-games, tower defenses, AoS (the DotA style), to even multiplayer RPGs.
I was a wc3 modder my whole college life (6 years) before I began to use RPG Maker.
Starcraft 2 comes with a better editor though its also more complicated to use.
Age of Empire II and Starcraft map editor was one of the reasons I got into gamedev. Creating a custom scenario for them was fun!
I remember the AoE II, I created a sort of scenario where I only control pack of wolves, spawned for every few seconds. The enemy is a civilization controlled by computer AI. And my mission is to raid the village by using only a pack of wolves. I had to lock their tech tree so they stay on the dark age 😀
It is indeed, because you can create completely new "games" albeit they can only be run inside wc3. Imagine making RPGs, battle arenas, tower defense etc inside a RTS game.
The community was also big and people are making a lot of stuff for people to use, from scripts to icons, to 3D models and so on.
and oh another in-game level editor/maker I like was the one in Timesplitters (I forgot which one though as there's a few of them) on the PS2. Its a first person shooter and the editor allows you to make new maps for you amd your friends to play in, complete with custom win conditions etc. I loved making maps there that only has super weapons for ultimate mayhem xD
I always loved level editors in Age of Empires 2, MechCommander Gold, and TimeSplitters 2 and 3. Those were such a big part of my childhood and teenage years. 😀 As others have said, creating custom scenarios with your own story and objectives was just awesome, or in case of TimeSplitters, just creating interesting layout of maps for specific game modes. For example, there is a virus mode in it where one bot player spawns with a virus (they burn with a green flame), and if they touch any other player or bot, they infect them too, so whoever is the last remaining player, wins. And I remember a friend of mine and I used to create maps specifically for this game mode... all with a bunch of dead ends and other ways to make it harder to avoid the infected. 🤣🤣🤣
Oh and Heroes of Might and Magic games also had a really awesome level editor. I mainly used to play the 3rd one and enjoyed creating custom story scenarios, though I am fairly sure 4 and 5 also had it, if my memory is right.
Cube 2: Sauerbraten (the level editor is an entire gamemode... not even kidding and its even online multiplayer)
BeamNG.Drive