Solved: transparency code

msmalik681

OpenBOR Developer
Staff member
there was a new feature that lets u set the transparency of the next frame can anyone remember it ?

it was added at the same time as "drawmethod tintmode"

drawmethod alpha {int}

Like above, use -1 or leave alone to avoid overriding.

drawmethod channel {r} {b} {b}

When using alpha 6, you can specify opacity for each channel (r, g or b), or leave the other 2 alone to set all the 3 channels.

For example the code below will grand the entity 25% opacity:

drawmethod alpha 6
drawmethod channel 0.25

works fine on the new build !
 
Back
Top Bottom