Unable to Convert from 'TMesh' to 'Int'

BlitzMax Modules Forums/MiniB3D/Unable to Convert from 'TMesh' to 'Int'

1. please post 'runnable' code. I can't see what you are doing with that snippet. (just replace loaded 3d files with cubes/spheres. in fact I like to create my code without any files for the purpose of posting here and getting help. you can always replace the cube with your player mesh later)

2. use the forum tags <code> </code> but replace the <> with [ ]

you might want to use composition instead of inheritence here. this means create a Tplayer type but have a Tentity type inside it. (not extended)

also, if your code is looooong. use [code-box] (remove the - )