swe_suffer
New Member
- Reaction score
- 20
Problem: The camera doesnt change the hight when the unit walk up on a cliff so the camera get stuck in the cliff.
So i wonder how i should do to make the camera go up when the unit goes up on a cliff.
I whould be glad if some1 answere.
Sorry about my bad English
Code:
Events: Time - Every 0.10 seconds of game time
Conditions: -
Actions: Pick every units in ( Units in (playable map area) owned by Player 1(Red)) and do (Actions)
Loop - Actions
Camera - Pan Camera for Player 1 (Red) to (Position of Picked Unit)) over 0.10
Camera - Set Player 1 (Red)'s camera Distance to target to 300.00 over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Far Z to 10000.00 over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Angle of attack to 337.50 over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Field of view to 90.00 over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Roll to 0.00 over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Rotation to (Facing of (Picked unit)) over 0.10 seconds
Camera - Set Player 1 (Red)'s camera Height Offset to ((Current flying height of (Picked unit)) + 96.00) over 0.10 seconds
So i wonder how i should do to make the camera go up when the unit goes up on a cliff.
I whould be glad if some1 answere.
Sorry about my bad English