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.

Newcomers DBPro Corner / Using an animation from an .X file?

Author
Message
game master 07
17
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Maryland
Posted: 1st May 2007 04:53
Ok I have absolutely no idea how to do this. I know that when a .x files gets exported the animation also gets exported directly into the file. When you load a .x file into DBP such as a character with more than one type of animation like running,jumping,etc how do you tell dbp what animation to start at,when to stop it,and then doing a different animation that is still all in the same .x file. Is there a special code for this or what?

gm07
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 1st May 2007 11:26
play object objnum,startframe,endframe

or

loop object objnum,startframe,endframe

sometimes it is necessary to position the animation on the first needed frame with this command:

set object frame,startframe

play with those

this snippet will help you check what frame does what

cheers

game master 07
17
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Maryland
Posted: 1st May 2007 18:07
Thanks so much. This really helps and was just what i needed!

gm07

Login to post a reply

Server time is: 2024-09-25 21:18:24
Your offset time is: 2024-09-25 21:18:24