I am using DBPro with the NGCollision .dll. I want camera collision so in order to do that I used the following code to make a camera:
make camera maincamera
maincamera = 2
set current camera maincamera
CollisionTypePro(maincamera,TYPE_CAMERA)
The last line lets the collision .dll know what it is looking for "maincamera" and what type of collision it should be set to. I need the name for the camera to have a unique name to use for the collision .dll. However when I run in debug mode the debugger says "can not use camera 0 at line 59" which is the line that says
"make camera maincamera"
Even though maincamera = 2 it is talking about camera 0. What does this mean and why is it happening?
-Apophis