moved intent_message from camera.lua