Posted By
|
Message
|
Mr Silverfish
Registered 23/07/2004
Points 8
|
16th August, 2004 at 14:57:15 -
I am trying to make a RTS game, and I want to have the "cursor" controlled with eight-directions. I know I can make it easier with mouse and such but I really want this to work.
any ideas?
n/a
|
Joe.H Evil Faker
Registered 19/08/2002
Points 3305
|
16th August, 2004 at 15:02:48 -
do you mean moving it with the arrow keys?
if so, give it an 8 directional movement and hide the mouse cursor, if you don't want the real cursor showing
My signature is never too big!!!
|
Mr Silverfish
Registered 23/07/2004
Points 8
|
16th August, 2004 at 15:06:58 -
Hmm maybe I should explain it better
the problem is that when I activate a unit that is standing close to a simliar units, I cant make it so only one of them is activated. so all of the units will go for where I want them to go.
is there a way to make only 1 unit beeing active?
n/a
|
_rydin
Registered 06/06/2004
Points 317
|
16th August, 2004 at 15:22:29 -
There is an event called "choose object at random", then it will only apply to one object.
"Computers in the future may perhaps only weigh 1.5 tons."
-Popular Mechanics, forecasting the development of computer technology, 1949
|
_rydin
Registered 06/06/2004
Points 317
|
16th August, 2004 at 22:10:23 -
Sorry, I misread his post. I thought that he didn't care which one moved.
"Computers in the future may perhaps only weigh 1.5 tons."
-Popular Mechanics, forecasting the development of computer technology, 1949
|
Mr Silverfish
Registered 23/07/2004
Points 8
|
17th August, 2004 at 09:54:54 -
but what if the cursor is ,by mistake, over 2 units at once and I click, wont both of them be activated???
n/a
|
Kris Possibly Insane
Registered 17/05/2002
Points 2017
|
17th August, 2004 at 10:57:33 -
that's where "pick random unit" comes in. It only picks between the ones that have been clicked on, not all of them
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
|
|
|