Generating Behavior in Response to Interacting Goals