• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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