hello
still working on this
i am new to fps & am learning to script
need list of all script commands (actions/conditions)
im using version 1.18
want to drop current weapon
and pick up new one in its place
( want player to be able to pick up drop weapon if they want to )
Example
can drop weapon from slot 1
can pick up new weapon and have it appear in slot 1
;Artificial Intelligence Script
;Header
desc = Pickup Item (can drop - press H) [MUST USE PHYSICS ALWAYS ON]
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupanitem.tga,hudname=itemprompt,hudhide=1,hudmake=display,state=10,coloff
:state=10,plrdistwithin=40:state=1,playertake,plrsound=$0,hudshow=itemprompt,hudfadeout=itemprompt
;playerdrop when press H key causes an automatic increment of the state value
:state=1,scancodekeypressed=35:playerdropcurrent,removecurrentweapon
:state=2,plrdistfurther=45:state=10
;End of Script
this script almost works
but only seems to work if im only holding 2 weapons
if i hold more than 2 weapon, they dissappar if player drops thems.
if i have 4 weapons in inventory and i start dropping weapons
when i go back to pick them up ... i end up with only 2 ???? sometimes just 1 out of 4
Function wanted recap -
want player to be able to choose from
a large selection of weapons to pick up as they go through levels.
i know it says can have only 9 weapons, but want player to be able drop current weapon and pick up new one in its place .. and be able to pick up droped weapon again if they want to
always thankful for any and all help