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 / Enhanced Animations "EnAn_oacCreateClone" command does not work

Author
Message
Lion Jin
18
Years of Service
User Offline
Joined: 24th Sep 2006
Location:
Posted: 7th May 2007 14:04
For the Enhanced Animations,the command " EnAn_oacCreate"is ok,but If I use the command "EnAn_oacCreateClone" ,that will crash the program.

Not sure this is a bug or I made something wrong ,need help ,thanks.
Olby
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 7th May 2007 16:05
Where is your code? How can we know what are you doing wrong?

AMD Sempron 1.8+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP Pro SP2, DirectX 9.0c (Feb2007), DBPro 6.6b
http://www.myspace.com/producerolby
Lion Jin
18
Years of Service
User Offline
Joined: 24th Sep 2006
Location:
Posted: 7th May 2007 16:15


--------------
I think the codes are very simple,just create a orc for one object ,and create a new obj ,and clone its orc.
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 7th May 2007 19:32
Lion Jin,

Are you using the latest version of EnAn (1.2)?
From your code, it looks like you are creating the first OAC named BodyAni. Then, you want to clone BodyAni to another OAC named newOac. Your code isn't actually using the clone command, it is using the EnAn_oacCreate command? Is that just a typo?

-Ron

Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 7th May 2007 22:58
Doh! I found the bug!

I changed something in 1.2 and broke the clone command. It will be fixed for 1.3. Sorry about that

Lion Jin
18
Years of Service
User Offline
Joined: 24th Sep 2006
Location:
Posted: 8th May 2007 07:48 Edited at: 8th May 2007 07:53
Great thanks.Waiting for the update!!(The codes I got a wrong "copy operation" in my 2nd post,that should be "EnAn_oacCreateClone")

Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 9th May 2007 03:59
Lion Jin,

The bug has been fixed and will be in the next update. Follow this thread for more info:
http://forum.thegamecreators.com/?m=forum_view&t=101609&b=5

Login to post a reply

Server time is: 2024-11-22 16:39:24
Your offset time is: 2024-11-22 16:39:24