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 Discussion / Turning objects while they are selected.

Author
Message
Major Payn
21
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 25th Nov 2004 03:18 Edited at: 25th Nov 2004 04:37
Hi

When compiling, press the upkey for level 2, and the downkey for level 1, level 1 works, so no need messing with that.

I am trying to allow the player to turn certain objects while they are selected, when an object is clicked, a flag is raised to show that something has been selected, and the variable Selection will equal to t to show a selection, so using this I decided to try and turn objects 300 to 302 using the right and left arrow keys to do this I tried the following code...



and here is the rest of the code....



The problem is, that when I click on the objects I want to turn, they do not turn, but when I click on another object and press the right and left arrow keys, it will not turn, but the objects I wanted to turn now turn. Oh and by the way, is there anyway to allow me to turn them individualy, because when they turn now, they all do it at the same time, and not by themselves.

thanks.

Guns arnt the problem, people are the problem, shoot all the people and guns arnt a problem anymore.
Major Payn
21
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 25th Nov 2004 04:47
OH NO! I don't know what happened, but now my code won't work, It keeps giving me an object doesn't exist error when trying to enter level 2, NO! I had just fixed this problem to, but darkedit didn't save that version, so now I am back to the problamatic one, and I forgot what I did! CAn anyone help me fix my code?!!!!

Guns arnt the problem, people are the problem, shoot all the people and guns arnt a problem anymore.

Login to post a reply

Server time is: 2025-05-24 12:56:27
Your offset time is: 2025-05-24 12:56:27