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.

DarkBASIC Professional Discussion / save object does not exist

Author
Message
Not only Games
19
Years of Service
User Offline
Joined: 17th Jul 2007
Location:
Posted: 7th Jan 2011 10:35
Hi everyone!
I have the DBPro Onlineversion and i am trying to save .3ds objects in the .dbo format, but i can`t find the save object command/it does not exist?
Thanks for your help!
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 7th Jan 2011 10:40
Yes, it's save object filename$,object number

from the help files..

Quote: "
SAVE OBJECT
This command will save the specified object to a file in the DBO file format.

Syntax

SAVE OBJECT Filename, Object Number

Parameters

Filename

String
This file name string that will be used to save the specified object to a file in the DBO file format. Be sure to end the specified filename with .DBO so that the file can be loaded in again correctly
Object Number

Integer
The object number

Returns

This command does not return a value.

Description

Be sure to end the specified filename with .DBO so that the file can be loaded in again correctly. It is worth noting that before saving, the vertex data is restored to the last god copy before animation changed the data, so that the model can be saved out correctly. Unless you used the special mode 2 for the "lock vertexdata for limb" command, any changes with this command will not appear.
"


Hope that helps.

Not only Games
19
Years of Service
User Offline
Joined: 17th Jul 2007
Location:
Posted: 7th Jan 2011 10:46
Thanks, but the problem is, if i type in the command, DBPro does not highlight it and if i try to make an exe, an error appears "Could not understand command ..."
SH4773R
16
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 7th Jan 2011 10:57
did u put ur file name in ""?
Not only Games
19
Years of Service
User Offline
Joined: 17th Jul 2007
Location:
Posted: 7th Jan 2011 11:01
Ok, problem is solved. I upgraded the installed onlineversion to 7.5. Now everything is fine...

Login to post a reply

Server time is: 2026-07-18 05:05:51
Your offset time is: 2026-07-18 05:05:51