Prepare yourself for a detailed answer
You can have any number of triggers running a script to detect a key press (particularly a same-key press), and what happens depends on how you scripted the script for that particular trigger.
For example... I have the following map image. Simple layout- you will see one trigger by the player start marker and one at the other side.
The first trigger by the player marker has this script:
;Artificial Intelligence Script
;Header
desc = View the Map
;Triggers
:state=0:hudreset,hudx=50,hudy=40,hudimagefine=languagebank\english\gamecore\NorthernFox\WW2_GU\Huds\ww2_gu_l02_map01a_view.png,hudname=l02_map01a,hudhide=1,hudmake=display
:state=0:state=1
;Plr in Zone
:state=1,plrwithinzone=1:state=2
;MAP VIEWING (M KEY)
:state=2,scancodekeypressed=50:state=5
:state=5:hudshow=l02_map01a,etimerstart,state=6
:state=6,etimergreater=250,scancodekeypressed=50:hudunshow=l02_map01a,etimerstart,state=7
:state=7,scancodekeypressed=50:etimerstart,state=8
:state=8,etimergreater=500:etimerstart,state=290
;Reset Main delay
:state=290,etimergreater=150,plrwithinzone=0:state=1
;End of Script
The second trigger on the right side has this script:
;Artificial Intelligence Script
;Header
desc = View the Map
;Triggers
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=languagebank\english\gamecore\NorthernFox\WW2_GU\Huds\ww2_gu_l02_map01d_view.png,hudname=l02_map01d,hudhide=1,hudmake=display
:state=0:state=1
;Plr in Zone
:state=1,plrwithinzone=1:state=2
;MAP VIEWING (M KEY)
:state=2,scancodekeypressed=50:state=5
:state=5:hudshow=l02_map01d,etimerstart,state=6
:state=6,etimergreater=500,scancodekeypressed=50:hudunshow=l02_map01d,etimerstart,state=7
:state=7,scancodekeypressed=50:etimerstart,state=8
:state=8,etimergreater=500:etimerstart,state=290
;Reset Main delay
:state=290,etimergreater=150,plrwithinzone=0:state=1
;End of Script
Now lets review the two scripts. They both show a map image using the M key, one hud is at (x,y) 50,40 and the second at 50,80. When the player hits the first trigger and presses M, the first image shows. Press M again to hide the image hud.
Player then goes to the second trigger and presses M. The second image shows, but not the first.
That is how to do it. A quick tip- if you use this method, it may be good to freeze the player when viewing the image. Otherwise they can still move while the image is up until they either press the key to hide it or you have it hide after x seconds. But you should get the idea here.
Twitter: @NFoxMedia