• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Pan camera with keyboard arrows

Status
Not open for further replies.
Level 3
Joined
Aug 11, 2007
Messages
42
Hi! Im making a mp where u have to choose the hero in a way that first the game is paned down at a camera and locked, but how do i make it swap camera just by hitting the left or right arrow (like in impossible bosses)? would be glad if someone helped me out
 
Use the event "player presses key" You can then specify the hero you would like to lock to using some camera actions.
I would suggest cycling through an array of 'Heros' to determine which hero your going to lock to.
 
That would be kind of a waste considering you'd need like 10 identical cameras. Its better to make one camera pointing to the middle of nowhere, and then lock the camera to a unit. This will keep the orientation without 10 million cameras.
 
ok the player presses key thing doesnt work, ive tried it, any other idea?

*edit
bah whatever ill use A and D instead

*edit again -.-

bah checked the wrong place +rep
 
Last edited:
Status
Not open for further replies.
Back
Top