Problem with SetObjectMaterial !
#1

I have this problem when I try to change the textures of my two objects it doesn't work at all. I place all the line a the good place but for some reason the textures of the objects stay the same -.- could any of you would be able to help me please ?

#define Stones(%0) SetObjectMaterial(%0, 0, 7584, "miragewall3", "miragecasino2", 0)
Stones(CreateObject(16564, 159.92, 1756.57, 16.59, 0.00, 0.00, 0.00));
Stones(CreateObject(8079, 160.71, 1725.84, 9.03, 0.00, 0.00, 0.00));
Reply
#2

Here is the def I have for that texture.

{ 7553, "miragecasino2", "miragewall3" },

You have the TXD and texture mixed up (The model is different but that wont matter)

#define Stones(%0) SetObjectMaterial(%0, 0, 7584, "miragecasino2", "miragewall3", 0)
Stones(CreateObject(16564, 159.92, 1756.57, 16.59, 0.00, 0.00, 0.00));
Stones(CreateObject(8079, 160.71, 1725.84, 9.03, 0.00, 0.00, 0.00));
Reply
#3

Thanks a lot +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)