photobooth
Photobooth A machine used to change occupant's security record photos, working similarly to a camera, but doesn't give any physical photo to the user. Links to buttons for remote control.
Vars | |
add_height_chart | Boolean on whether we should add a height chart to the underlays of the people we take photos of. |
---|---|
button_id | The ID of the photobooth, used to connect it to a button. |
taking_pictures | Boolean on whether the machine is currently busy taking someone's pictures, so you can't start taking pictures while it's working. |
Procs | |
finish_taking_pictures | Updates the records (if possible), giving feedback, and spitting the user out if all's well. |
flash | Mimicing the camera, gives a flash effect by turning the light on and calling flash_end. |
flash_end | Called by a timer to turn the light off to end the flash effect. |
start_taking_pictures | Handles the effects of taking pictures of the user, calling finish_taking_pictures to actually update the records. |
Var Details
add_height_chart
Boolean on whether we should add a height chart to the underlays of the people we take photos of.
button_id
The ID of the photobooth, used to connect it to a button.
taking_pictures
Boolean on whether the machine is currently busy taking someone's pictures, so you can't start taking pictures while it's working.
Proc Details
finish_taking_pictures
Updates the records (if possible), giving feedback, and spitting the user out if all's well.
flash
Mimicing the camera, gives a flash effect by turning the light on and calling flash_end.
flash_end
Called by a timer to turn the light off to end the flash effect.
start_taking_pictures
Handles the effects of taking pictures of the user, calling finish_taking_pictures to actually update the records.