fx pan tilt swing override

Hey, i found this post for a fx speed override and that works great ( FX Speed Override ) but does anyone know how to do the same for pan and tilt swing? if i do the same for pan and tilt swing the moving heads keep moving when i disable the cue with fx movement in it.

i guess its the normal behaver for a override like this as its telling to keep moving. so my question of the day is, is it possible to use an override like this but have it only active when an cue with movement is active?