Ok so you guys know how at the beginning of some games you start out with out a weapon well i think that i have devised a plan as too how to do it.
Fist make an entity make him not spawn at start. give him this code for his start fpi. And make his if used box the name of the gun.
;Artificial Intelligence Script
;Header
desc =
;Triggers
;Artificial Intelligence Script
;Header
desc = guy with no gun
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine="gamecore\text\pressentertouse.tga",hudname=take,hudhide=1,hudmake=display,state=10
:state=0,plrdistwithin=100:hudshow=take,hudfadeout=take,settargetname="guy",state=4
:state=4,plrusingaction=1:activatetarget=5,destroy
;End of Script
then make a guy in nearly the same spot as him have this for his main fpi. and to put the name of the no gun guy in his if used box.
;Artificial Intelligence Script
;Header
desc = guy with no gun
;Triggers
:state=0:settargetname=gun
:state=0,activated=5:spawnon,activatetarget=10,runfpidefault=1
;End of Script
Now put this code into the guns main fpi.
;Artificial Intelligence Script
;Header
desc = gun pick up
;Triggers
:state=0,activated=5:playertake
;End of Script
can someone try this for me to see if this works because i cannot use my comp at the moment