- Joined
- Mar 10, 2008
- Messages
- 869
-
SetCamera
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in CameraGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Picked unit) Equal to ClickedUnit[(Player number of (Owner of (Picked unit)))]
-
-
Then - Actions
-
Set CamPoint = (Position of (Picked unit))
-
Custom script: set udg_CamHeight = GetLocationZ(udg_CamPoint)
-
Camera - Set (Owner of (Picked unit))'s camera Height Offset to CamHeight over 0.10 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Distance to target to 500.00 over 0.10 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Angle of attack to 320.00 over 0.10 seconds
-
Camera - Pan camera for (Owner of (Picked unit)) to CamPoint over 0.10 seconds
-
Camera - Set (Owner of (Picked unit))'s camera Rotation to (Facing of (Picked unit)) over 0.25 seconds
-
Custom script: call SetCameraFieldForPlayer(GetOwningPlayer(GetEnumUnit()),CAMERA_FIELD_ZOFFSET, GetCameraField(CAMERA_FIELD_ZOFFSET) + udg_CamHeight - GetCameraTargetPositionZ() + 75, 0.10)
-
Custom script: call RemoveLocation(udg_CamPoint)
-
-
Else - Actions
-
-
-
-
-
If someone uses Page Up or the mouse scroll, it moves in so people can't see as before.
Does anyone know how to fix the problem or prevent the game from applying the use of page up or mouse scroll?