Object count when texturing
#1

Does texturing an object count as creating an object?

Like:

CreateObject(...);
SetObjectMaterial(...);

Does that count as two objects like when you use the remove object function?
Reply
#2

I really doubt it!
Reply
#3

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:
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);

Reply
#4

Alright thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)