Help with automated tiled saving macro
Hello gentle folks. I've been using CC3 for many years now, but not delved too heavily into macros. I'd like to jump in now, with a macro that iterates over a large dungeon map, saving it as series of PNG tiles. My idea is for the macro to take 5 values: filename_prefix, width of the tile (in realworld unit - the files are square), number of columns to iterate over, and number of rows to iterate over. The PNG file settings can be set prior to running the macro, and at the start of the macro, I'd also need to select the starting position for the top left corner of the iteration.
My biggest challenge at this point is uncovering the macro command to use for saving the PNG file, eg as myfile_R1_C1. I've looked at SAVEASM but cannot locate sufficient information regarding its use. Perhaps I am looking in the wrong spot. Any assistance would be very helpful.
Best regards,
Joe
My biggest challenge at this point is uncovering the macro command to use for saving the PNG file, eg as myfile_R1_C1. I've looked at SAVEASM but cannot locate sufficient information regarding its use. Perhaps I am looking in the wrong spot. Any assistance would be very helpful.
Best regards,
Joe
Comments
Usage:
WBSM c:\file.png;0,0;3000,-3000