kalarhan said:pete99 said:Would there be an equally simple way to remove the overlay, or hide it?
Code:overlay_set_display = 947 # (overlay_set_display, <overlay_id>, <value>), # Shows (value = 1) or hides (value = 0) the specified overlay.
also avoid using reg0, it is easily overriden by other operations and scripts. Either use something like reg10 or higher or a global variable.
Thanks. I did give the overlay set display code a go, but it appeared to create an error. Does this particular line apply to an overlay mesh as I am trying to use, or will it only work for certain types of overlays?