- Joined
- Mar 10, 2008
- Messages
- 869
Hi,
I have a kind of, first person camera, and I need to make it so it's like the first picture, all the way through the game even with the ups and downs of the terrain...
First Pic:
Getting a bit higher there...
TOO HIGH!
Here's my trigger:
I have a kind of, first person camera, and I need to make it so it's like the first picture, all the way through the game even with the ups and downs of the terrain...
First Pic:
Getting a bit higher there...
TOO HIGH!
Here's my trigger:
-
SetCamera
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in CameraGroup and do (Actions)
-
Loop - Actions
-
Set CamPoint = (Position of (Picked unit))
-
Custom script: set udg_CamHeight = GetLocationZ(udg_CamPoint)
-
Set CamHeight2 = (CamHeight x 0.75)
-
Camera - Set (Owner of (Picked unit))'s camera Height Offset to (75.00 + (CamHeight - CamHeight2)) over 0.50 seconds
-
Custom script: call RemoveLocation(udg_CamPoint)
-
Camera - Set (Owner of (Picked unit))'s camera Distance to target to 500.00 over 0.50 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Angle of attack to 325.00 over 0.50 seconds
-
Camera - Pan camera for (Owner of (Picked unit)) to (Position of (Picked unit)) over 0.00 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Field of view to 550.00 over 0.50 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Rotation to (Facing of (Picked unit)) over 0.50 seconds
-
-
-
-