I’m making a map editor in SB4 and I’m well into it but there is one problem I am having.
There is a square area where the map gets edited on the left side of the screen and tools / other functions on the right side. When I use the left stick to scroll the map, it scrolls over the entire screen when I want it to be clipped in the square.
I’ve tried using LCLIP but it displays just the map area and clips all else out. Attempting to add more clipping layers with this function doesn’t seem to work for me, like the other LCLIP layers are ignored. Do I have to specify number of layers before this works? Is there a handy “TCLIP” function that I’m not aware of?
Layer clipping help (SB4)
Root / Programming Questions / [.]
kitesinpowerlinesCreated:
Unfortunately there's no BGCLIP/TCLIP anymore, but LCLIP should work if you put the map on a separate layer from everything else (I think the function is TLAYER), you can use LCLIP on just thatThis worked. Thanks!