• 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.

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
 
Level 11
Joined
Aug 25, 2006
Messages
971
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.
 
Level 11
Joined
Aug 25, 2006
Messages
971
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.
 
Level 3
Joined
Aug 11, 2007
Messages
42
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.
Top