Seems like this should work yet it doesnt..
Could anyone shed some light on what im doing wrong? What happens is after I select the texture the mesh is still untextured.
BaseModel = LoadAnimMesh("Base/"+Bs+".b3d") EntityFX(BaseModel,1) Roofpoint = FindChild(BaseModel,"roof") DoorPoint = FindChild(BaseModel,"door") X = 0 Y = 0 Z = 0 ScaleX = 1 ScaleY = 1 ScaleZ = 1 PositionEntity BaseModel,X,Y,Z ScaleEntity BaseModel,ScaleX,ScaleY,ScaleZ texfile$ = RequestFile("Pick Base Texture","bmp,png,jpg") DebugLog texfile$ BaseTex = LoadTexture(texfile$) EntityTexture BaseModel,Basetex,0,0
Could anyone shed some light on what im doing wrong? What happens is after I select the texture the mesh is still untextured.