| 12-14-2008, 05:26 PM | #2 |
Z angle = Atan2( height, distance ) so, you could do Trigger: ![]() Set TempHeight = Fly Height of <Boss> - Fly Height of Camera
![]() Set TempDist = Distance Between Camera and <Boss>
![]() Custom Script: set udg_AngleOfAttack = Atan2(udg_TempHeight,udg_TempDist)*bj_RADTODEG
![]() Camera - Set HeroPlayer[(Integer A)]'s camera Angle of attack to AngleOfAttack over 0.50 seconds |
| 12-14-2008, 06:14 PM | #3 |
How do you find the fly height of the camera? Source or Target Z? EDIT: Or a dummy unit where the camera is? nvm, thanks! (just tested it on a druid of the talon with wander) + candy! |
