MapScript beta
TypeAlias of @v12-engine/editor/map-command
ts
export type MapScript = (editor: MapEditor, context: {
game: string;
file: string;
}) => void | Promise<void>;What a script for map run is: given an editor on the map, it changes it; the map is saved when it ends