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 / re position camera to player help

Author
Message
Daniel wright 2311
User Banned
Posted: 23rd Oct 2011 22:22 Edited at: 23rd Oct 2011 22:32
So I have a lever set up to when you pull it the camera changes position and the screen clears to black then it just shows the lever being pulled then after this the camera is to go back to the player object.

well it just stays at the position and does not go back to the player object,help.



EDIT, IT IS SHOWING MY OBJECT 2 PLAYER AFTER THE CHANGE BUT NOT REFOLLOWING IT.

my signature keeps being erased by a mod So this is my new signature.
Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 23rd Oct 2011 23:42
Perhaps [waitforscreen2] was not reset to 0. So [if waitforscreen2=20] always returns true.

Daniel wright 2311
User Banned
Posted: 23rd Oct 2011 23:51
Quote: "Perhaps [waitforscreen2] was not reset to 0. So [if waitforscreen2=20] always returns true.
"


Whoops, thanks for looking it over, i changed it to 0 and it works well now.

my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-10 20:10:40
Your offset time is: 2026-07-10 20:10:40