You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
;Artificial Intelligence Script
desc = Press F key to pick up
If player presses F key, weapon will be picked up, and added to player's weapon inventory.
:state=0:hudreset,hudx=50,hudy=90,hudsize=18,hudtext=Press F to pick up this weapon,hudname=WEAPONPROMPT,hudhide=1,hudmake=display,state=10 :state=10,plrdistwithin=40:hudshow=WEAPONPROMPT,state=12 :state=12,plrdistfurther=40:hudunshow=WEAPONPROMPT,state=12,state=10
;Player Press F key :state=12, scancodekeypressed=33:hudunshow=WEAPONPROMPT, playertake,coloff,rundecal=-1, plrsound=audiobank\items\pickupweapon.wav, state=14
;End of Script
Login to post a reply