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

Camera View Help

Status
Not open for further replies.
Level 3
Joined
Nov 28, 2009
Messages
47
How can i achieve this camera angle using a trigger?(See picture below)


  • The camera can start working when map starts and revert back to the default camera view after a hero has been chosen.
 

Attachments

  • View.png
    View.png
    1.9 MB · Views: 103
Level 3
Joined
Nov 28, 2009
Messages
47
Thankyou that worked but how do i lock the camera and then reset the camera once they have chosen a hero or typed a load code?
 
I would add a "lock camera target to unit" event (choose one of those five heroes as long as they don't change position) for the player to the map initialization trigger to more or less preserve the camera.

To "disable" keyboard and mouse scrolling, which the previous action does not do, you can rig the game with these triggers (first make a boolean variable set to "false" as default called "hero selected"):

  • Lock Camera
    • Events
      • Event - Every 1 seconds of game time
    • Conditions
      • (hero selected) = false
    • Actions
      • Camera - Apply (camera) for player over 1 second
Then, once the hero is selected, be sure to
  • Actions
    • Set (hero selected) = true
 
Status
Not open for further replies.
Top