So I have some basic tile specifications, a basic graphic setup that can handle 4 layers of tile drawing on 1024x768 map surface.

I was going to start building a basic editor before going much further (so I can obviously test maps out quickly rather than manually write out the information of every tile).

But then I thought to myself...... hold on a second, how in the hell will I manage some form of scripting/events for maps (so I actually can have a game built and run instead of a char running around maps aimlessly).

So, what sort of implementation ideas do people use?

I am pretty sure I can handle map editing, maps, a hero, warp points to go from map to map, layered tiling etc), but the actual event driven part I am unsure of where to even start.