I can't remember where I found this script, but here it is
;Artificial Intelligence Script
;Header
desc = Weapon Pickup
;Triggers:
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\huds\use.dds,hudname=coltprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=40:hudshow=coltprompt,state=12
:state=12,plrdistfurther=40:hudunshow=coltprompt,state=12,state=10
:state=12,scancodekeypressed=33:hudunshow=coltprompt,playertake,coloff,rundecal=-1,plrsound=audiobank/items/pickupweapon.wav,state=14
;End of Script
I know it's called "Weapon Pickup" but it seems to work for other things, but not health packs. I don't know anything about scripts, but by looking at the script, it mentions "playertake" so I would assume this would work, but does not. What do I add to this to make a functional health pack that works with the F key?
Specs: AMD FX-8120 8-Core Processor (3.1GHz) / Radeon 7770 / 16GB RAM / Windows 8 Pro 64 Bit
DozenRooms: http://gamejolt.com/games/other/dozenrooms/15041/