
I'm glad it's finally working, turns out I had to move the subs further down for it to work properly... (yeah, it sounds silly, given that I had used DECLARE statements at the beginning and all, but...)
In case you're wondering, it's my Carnivores 1/2/Ice Age model editor, written in Rapid-Q, so far it didn't have 3D rendering capabilities. Right now it's only displaying the meshes as wireframes, but that's just because I was trying to get it to work first, I'll get it rendering the models fully textured (and the animations too) later on...