;Artificial Intelligence Script ;created with TextEase by Xplosys ;Header ;desc =player switches between one weapon ;Triggers :state=0:alwaysactive=1 :state=0:hudreset,hudx=50,hudy=90,hudsize=18,hudtext=Press F to pick up this weapon,hudname=weaponpromt,hudhide=1,hudmake=display,state=10 :state=10,plrdistwithin=40:hudshow=weaponpromt,state=12 :state=12,plrdistfurther=80:hudunshow=weaponpromt,state=0 ;Player Press F key drop weapon :state=12,keypressed=33 1:playerdropcurrent,state=13 :state=13,keypressed=33 0:state=14,removeplrweapon=1 ;Player Press F key again take weapon :state=14,keypressed=33 1:hudunshow=weaponpromt,playertake,coloff,showplrweapon,plrsound=audiobank\items\pickupweapon.wav,state=15 :state=15,keypressed=33 0:state=16 :state=16,plrdistfurther=60:state=0 ;End of Script