Problem description: Can anyone explain exactly how float layers work? |
Aug 10 2016, 9:33 am
Best response
|
|
Check out Ter13's Snippet Sunday #1.
|
thats good insight thank you! somes a touch confusing but i believe i understand it thanks
|
In response to William1of89
|
|
To offer some contrast, let's say I did this:
obj In this example, the shirt object would appear above you by default. But if you were to use the change_layer() verb and input a number greater than MOB_LAYER (which is 4, remember?), then the shirt would appear below you. Your layer changes but the shirt remains appearing above the MOB_LAYER. FLOAT_LAYER remedies this. Take this instead: obj With this, the shirt would always appear above you, as it should. |
In response to FKI
|
|
"Float layers" is a behavior unique to all negative layers. FLOAT_LAYER is a constant defined as -1. Adding 1 to FLOAT_LAYER will result in a non-floating layer.
Lower float layers are still drawn below higher float layers, i.e. -1 is above -2, which is above -5, etc. |