Warcraft III resources & community, 2003–2006 · archived

3rd person view....rotating the camera with arrow keys.???

2 posts
#1

3rd person view....rotating the camera with arrow keys.???

I wanna know how to make it so when a player presses the left arrow key the camera should rotate to the left a little bit, and if they press the right key, it shoudl rotate to the right.

can some1 plz tell me how to do this.
#2
"Events" have such trigger as "Button pressed" and "Button unpressed" use it.

For example:
1 trigger
(Trigger is off from the beginning)
Event
every 1 sec
Conditions
Actions
Rotate camera to "(face angle)-90" of "Hero" for 1 sec

2nd trigger
Event
Button "left" is pressed
Condition
Action
Turn of "1st trigger"

3rd trigger
Event
Button "left" is unpressed
Condition
Action
Turn off of "1st trigger"