Forum

> > CS2D > Scripts > Masking tags for image function
Forums overviewCS2D overview Scripts overviewLog in to reply

English Masking tags for image function

5 replies
To the start Previous 1 Next To the start

old Masking tags for image function

EngiN33R
Moderator Off Offline

Quote
I've read the new description of the image Lua function, and there are these masking tags for masking magenta or black pixels. I can't figure out how to use those. When put inside the path string, that file isn't found; outside - unexpected character error. What do? Does it only work for tiles or something?

old Re: Masking tags for image function

EngiN33R
Moderator Off Offline

Quote
No, I don't.

cs2d lua cmd image

1
2
image("gfx/weapons/awp.bmp"<m>,512,512,3) --doesn't work
image("gfx/weapons/awp.bmp<m>",512,512,3) --doesn't work either

Read exactly what I post before trying to answer.

old Re: Masking tags for image function

DC
Admin Off Offline

Quote
I should test new features before releasing - I forgot to test this one unfortunately.
sorry, this will work with the next update (which will not take several months to be released)

the <tile:X> thing should work though.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview