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

[Trigger] Cameras?

Status
Not open for further replies.
Level 7
Joined
Mar 22, 2010
Messages
228
I was planing to do a 1st person camera then i want the height of the camera to increase as well as the Z hight of the terrain...how?
 
  • Trigger
  • Events
    • Time - Every 0.03 seconds of game-time
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (your group) and do (Actions)
      • Loop - Actions
        • Set Point1 = (Position of (Picked unit))
        • Custom script: set udg_height1 = GetLocationZ (udg_Point1)
        • Camera - Set (Owner of (Picked unit))'s camera Height to (150.00 + height1) over 0.00 seconds
        • Custom script: call RemoveLocation (udg_Point1)
 
Status
Not open for further replies.
Top