• 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] move unit (not instantly) and camera triggers

Status
Not open for further replies.
Level 7
Joined
Nov 13, 2007
Messages
244
1. knockbacks??

2. this



  • Events
    • A unit is selected
    • Conditions your unit
    • Actions
    • Camera - Lock thr camera to your unit.
.
  • Cam Lock
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Camera - Set Player 1 (Red)'s camera Distance to target to 700 over 0.50 seconds
      • Camera - Set Player 1 (Red)'s camera Angle of attack to 350 over 0.50 seconds
      • Camera - Set Player 1 (Red)'s camera Height Offset to 200 over 0.50 seconds
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
I don't think that first thing is possible, unless you can make a trigger that activates towards the opposite direction of the source, which would probably be a too complicated trigger.

For the camera, however, you can lock onto a target and always look at him from thesame angle (like mario 64 showed with his first trigger). If you want to have the camera on 1 unit during the whole game (until you set a trigger that changes the camera position), you have to place the "Lock camera on unit" action under the "Melee Intialization" trigger, so you start with the camera locked on your unit.
 
Status
Not open for further replies.
Top