Blank texture to object
#1

Hi, I have a question about SetObjectMaterial.
I'm trying to give a "blank" texture to an object, in order to make it invisible. So, the texture must have an opacity value of 0.
However, I haven't found any object with a texture like that.

There's a blank object (19300), which apparently is invisible, but as I can't double click on it in JernejL's Map Editor, I can't see what texture it has. So, how can I get that object's texture, or make my object invisible with another method?

Any help would be appreciated.
Thanks in advance.
Reply
#2

Sorry for bump.
(as it's alredy this topic for it rather then creating a new one)

Does someone know?
Reply
#3

Try SetObjectMaterialText, and assign the text to being just a space.

https://sampwiki.blast.hk/wiki/SetObjectMaterialText
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)