• 🏆 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!

Some kind of over-the-shoulder view

Status
Not open for further replies.
Level 7
Joined
Aug 17, 2012
Messages
256
Am i able to make some kind of over-the-shoulder view (not too close though) when the camera is locked to the target unit? Camera should be unable to rotate though...

Like, everywhere the unit goes, the camera turns with him, i guess you guys know how an over-the-shoulder view looks like:D

Thanks for the help, and yeah sorry for these topics, but my knowledge with the world editor is a lil...low...when it comes to these things :ogre_datass:
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
  • Events
    • Time - every 0.03 seconds of game time
  • Conditions
    • none
  • Actions
    • Set tempPoint = position of hero
    • Camera - pan camera for player to tempPoint over 0.05 seconds
    • Custom script: call RemoveLocation(udg_tempPoint)
    • Camera - set camera rotation for player to (facing angle of hero) over 0.05 seconds
    • Camera - set camera angle of attack for player to 345 over 0.05 seconds
Experiment with different values for angle of attack, and try the other camera fields as well.
 
Status
Not open for further replies.
Top