maarten. Posted November 2, 2010 Share Posted November 2, 2010 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? Quote Link to comment
maarten. Posted November 3, 2010 Author Share Posted November 3, 2010 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... Quote Link to comment
Recommended Posts
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.