Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Problem with NG v4...

Author
Message
Willie Mundermuffin
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 16th Mar 2006 21:19
Hello,

I'm recieving an error message when trying to add an object to a collision group in the new NG. Here's the line of code giving me the problem:

`mainTerrainModel = 1 and type_staticMap = 10
collisiontypepro(mainTerrainModel,type_staticMap)

If I rem this line out, the program starts. Here's the error I get:

"Runtime Error 7006 - Object number illegal at line 616"

I don't know what's going on?!?

Thank you for all your help!
,Jared C. Matthews

"I would rather attempt something big and fail than to never attempt anything at all." -Pastor Michael Youseff
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 16th Mar 2006 23:06
Right before that make it print out the value of mainTerrainModel so you can see what it is. If it is lower than 1 or higher than 9999 it will error that. I see you want it set to 1, you can try putting a 1 in it's place and if that works then you may need to make the variable global if you are using or setting it's value in another function.

Login to post a reply

Server time is: 2024-05-27 08:24:49
Your offset time is: 2024-05-27 08:24:49