19.12.2013, 17:10
just like x96664 said, it's not counting as creating an object.
You just set it's texture.
SetObjectMaterial:
The wiki says: "Replace the texture of an object with the texture from another model in the game"
CreateObject:
wiki says: "Creates an object"
Creating an object and changing it's textures are two different things.
For example, an objects texture can only be changed when it's been created before.
wiki example:
You just set it's texture.
SetObjectMaterial:
The wiki says: "Replace the texture of an object with the texture from another model in the game"
CreateObject:
wiki says: "Creates an object"
Creating an object and changing it's textures are two different things.
For example, an objects texture can only be changed when it's been created before.
wiki example:
Quote:
myobject = CreateObject(19371, X, Y, Z+0.5, 0.0, 0.0, 0.0, 300.0); SetObjectMaterial(myobject, 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF); |