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.

Dark GDK / dbPositionCamera error

Author
Message
Lord Herakles the Great
13
Years of Service
User Offline
Joined: 24th Mar 2011
Location:
Posted: 6th Apr 2011 09:29
This is probably just due to me being a complete beginner with DarkGDK, so I apologize for wasting people's time with my stupidity. I have made this code:



And it generates this error message:



I've been staring at this code for several days and I haven't been able to figure it out. I think it has something to do with the PositionCamera command, but I really don't know.

Hail to the king baby
I love Evil Dead.
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 6th Apr 2011 14:59


both are wrong, and should look like:



use [] to access array elements, not {}, and i believe this

can only be done at initializing, like


Lord Herakles the Great
13
Years of Service
User Offline
Joined: 24th Mar 2011
Location:
Posted: 7th Apr 2011 08:05
Thanks, that worked! It never crossed my mind that it could have been the array. I feel really stupid now.

Hail to the king baby
I love Evil Dead.

Login to post a reply

Server time is: 2024-06-16 02:50:54
Your offset time is: 2024-06-16 02:50:54