Forum

> > CS2D > Scripts > Image Tag Error
Forums overviewCS2D overview Scripts overviewLog in to reply

English Image Tag Error

6 replies
To the start Previous 1 Next To the start

old Image Tag Error

archmage
User Off Offline

Quote
According to cs2d lua cmd image this should load an image using magenta for transparency:
1
image("gfx/npc/soldier.bmp<m>", x, y, mode)

Instead I get this error:
1
cannot load image "gfx/npc/soldier.bmp<m>"

Am I doing something wrong or does the command not work?

old Re: Image Tag Error

Apache uwu
User Off Offline

Quote
No he's referring to thread cs2d Masking tags for image function:

user DC has written
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.

old Re: Image Tag Error

DC
Admin Off Offline

Quote
Oh, I see that this is already several months ago. That's why I'm normally never talking about release dates. Ha ha ha...
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview