You just need to use:
level = LoadMesh("test.b3d")
OR
level = LoadAnimMesh("test.b3d")
If level is 0 after the attempt to load then the file is either missing, corrupt, illegal, or you don't have the latest version on Blitz3D.
You can check this with:
If level=0 Then RunTimeError "Error: level not loaded"
level = LoadMesh("test.b3d")
OR
level = LoadAnimMesh("test.b3d")
If level is 0 after the attempt to load then the file is either missing, corrupt, illegal, or you don't have the latest version on Blitz3D.
You can check this with:
If level=0 Then RunTimeError "Error: level not loaded"