To script map events, first have a file named the same as your .map except ending in .vc instead. For example, if your map was "island.map", then your map event file would be "island.vc". Coding for map events is basically the same as coding events in your system.vc files, except any functions you declare inside the map only exist while the map exists. You can declare local variables inside your function but you cannot declare global variables. One event name set by MapEd3 will be called on the map's initialization. Keep all these ideas in mind when scripting map events.