enum drone { idle, collect, deposit }
Viewing post in 1.0.65 - 2022.11 compatibility and HTML5 tweaks comments
Yeah that worked! I delare all my enums in the Room Creation Code for my first room r_Initialize. This is what's in there currently:
// Set anti aliasing to 0 for pixel art and turn on vertical sync so we don't get render lag display_reset(0, true); // Setup player states... enum playerLoadout { laser, printer, guns, plows, watering_cans, seed_spreaders, harvester, logger, miner, construction_tools, length } enum mods { laser_beam, force_field, seed_spreader, hammer, length } enum droneTask { unassigned, ore, organics, crops, defense, length } enum menus { pack = 0, catalog = 1, //equipment = 2, length = 2 } enum effect_type { fire, asteroid, rain, electro, wormhole, portal } enum key_indicator { up, right, down, left, bumper, trigger_l, trigger_r, stick, key, button } room_goto(r_Menu);
Gotcha. I personally don't feel like that's necessary, I can easily just move all these enums to the new script. I think this is some of the oldest code I have from a Shaun Spalding way back in the day. Not sure why it's only causing me problems now but good to know how to get around it. Thanks for the support. This tool is a literal lifesaver.