I've successfully used some of the HUD element controllers, e.g.
foo.element_params = {"FOO_PARAM"}
foo.controllers = {
{"move_up_down_using_parameter", 0, 0.1 },
}
The ones that I currently use are: move_left_right_using_parameter, move_up_down_using_parameter, parameter_in_range, text_using_parameter, opacity_using_parameter
The first arg in each controllers entry is the function name (e.g. move_up_down_using_parameter), the second arg is the (0-based) index into the element_params array to determine the param name, and the 3rd arg (and perhaps optional additional args after that?) is used with the function in question (e.g. the 0.1 above scales how much the element moves up and down with the changing value of FOO_PARAM).
I found a few others in Cockpitbase.dll that sound useful, but I don't know how to use some of them (others I can guess): change_texture_state_using_parameter, change_color_when_parameter_equal_to_number
Anybody have more info on these?