HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Moving my hero with arrows. . .

07-08-2003, 05:06 PM#1
/\/\ajinVegeta
I'm making a map and I want to know how to move the hero with the arrow keys.
07-08-2003, 05:18 PM#2
Electricall
Have you looked in the editor? It should be something like:

E: Either button is pressed or a specific button is placed.
C: Pressed button equal to "A"
A: blah blah
07-08-2003, 05:35 PM#3
/\/\ajinVegeta
Yeah but how do I get to that? I haven't seen a "Player presses button" or anything like that. Can you tell me how to do that?
07-08-2003, 06:16 PM#4
Raptor--
look for some kind of keyboard event, don't know the exact wording of it, allows u to take arrow press and release -- there's no direct event for using alphas though

take a look at this map if u want, the triggers are under category 'MOVEMENT'

...hmm, this is the 3rd time i've posted my map for this... i should have just made an explanation map
07-08-2003, 07:06 PM#5
/\/\ajinVegeta
Sorry, don't got TFT on my computer so I can't see that map.
07-08-2003, 07:13 PM#6
Electricall
Look,

E: Player - Player 1 (Red) Presses the Left Arrow key
A: Unit - Order (Picked unit) to Move To ((Position of (Picked unit)) offset by (-80.00, 0.00))

I think it should be like that, test it. Just change Picked unit to the unit you want moved and Player 1 to whatever player you want.
07-08-2003, 07:16 PM#7
/\/\ajinVegeta
Quote:
Originally posted by Electricall
Look,

E: Player - Player 1 (Red) Presses the Left Arrow key
A: Unit - Order (Picked unit) to Move To ((Position of (Picked unit)) offset by (-80.00, 0.00))

I think it should be like that, test it. Just change Picked unit to the unit you want moved and Player 1 to whatever player you want.


There is no such event. :P
07-08-2003, 07:18 PM#8
element_5
That's because it's in TFT, which is probably a good thing to get if you want to keep making maps for the community ;)
07-08-2003, 07:56 PM#9
Electricall
I'm very sorry, it wasn't my intention... I thought that was a RoC event since I've seen maps in RoC where you move your hero with the arrow keys... Again, sorry...
07-08-2003, 08:11 PM#10
/\/\ajinVegeta
Da*n. . . Well I will have it of my computer soon enough. . .;)
07-08-2003, 10:44 PM#11
Electricall
Look here:


Arrow key control tutorial

Hope it helps.

[edit]: 100th post!
07-09-2003, 02:58 PM#12
/\/\ajinVegeta
Just one problem with that. . . I can't load it up in th WE :P