Jump to content
Developer Wiki and Function Reference Links ×

Textures of Walls


maarten.

Recommended Posts

Hello all

Does anybody know how to get the texture that's attached to the left and right side of a wall? These things I already tried to no avail...

Message(GetObjectVariableInt(GetObject('Muurstijl'),1135));

Message(GetObjectVariableInt(GetObject('Muurstijl'),1137));

{Muurstijl is the name of the Wall Style}

Those two both give 0 as answer.

Message(GetTextureRef(FSActLayer,0,FALSE));

Message(GetTextureRef(FSActLayer,1,FALSE));

Message(GetTextureRef(FSActLayer,2,FALSE));

{FSActLayer gives the handle of a drawn wall}

Those also give 0 as answer...

Anybody else got an other idea?

Link to comment

Forgot to mention that I also tried these:

Message(GetTextureRefN(FSActLayer,0,0,FALSE));

Message(GetTextureRefN(FSActLayer,0,1,FALSE));

Message(GetTextureRefN(FSActLayer,1,0,FALSE));

Message(GetTextureRefN(FSActLayer,1,1,FALSE));

Message(GetTextureRefN(FSActLayer,2,0,FALSE));

Message(GetTextureRefN(FSActLayer,2,1,FALSE));

But again, they all give 0...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...