Parent lights to an object

What is the easiest way to parent a light source to an object. I have a man in a space suit and want to put a light inside his helmet and want the light to stay there, I know how to parent objects, but lights seem to give me some trouble? The space man is rigged already if that is important?

nothing will move if you parent an object (or lamp in your case) to a deformed mesh. if you move the armature in pose mode, the lamp wont follow. I dont know how to fix it at the moment

found out a way. If you select the lamp, go to object properties (little cube in the properties panel) and set the relation to the armature. After that set the parent type to bone (below). Select the head bone (below).

Attachments


disregard, I parent the light to an object in the liner…sorry for the post.