====== HudSetCameraActorAdvanced ====== ''void HudSetCameraActorAdvanced(int tid, int flags)'' [[:HUD Library|This is a HUD Library function.]] ===== Description ===== Sets [[:hud_library_state#camera_position|camera position]] and [[:hud_library_state#camera_direction|direction]] to match those of the specified actor. Advanced version of [[HudSetCameraActor]]. Takes the following flags: * HUD_CAMERAACTOR_NOPOSITION -- don't set [[:HUD Library state#camera_position|camera position]]. * HUD_CAMERAACTOR_NODIRECTION -- don't set [[:HUD Library state#camera_position|camera direction]]. * HUD_CAMERAACTOR_NOPREDICTION -- don't try to shift camera position based on actor velocity to minimize positioning artifacts caused by [[:35 fps]] rendering. * HUD_CAMERAACTOR_NOVIEWHEIGHT -- don't take the actor's view height into account. Use ''|'' operator to combine flags (e.g ''HUD_CAMERAACTOR_NOPREDICTION | HUD_CAMERAACTOR_NOVIEWHEIGHT'').