Quote: "Hey marc I need a script where if the player walks into a trigger zone, all of his weapons get deleted."
This will work in Project Blue or Project Green:
:state=0:state=1
:state=1,plrwithinzone=1:removeweap=1,removeweap=2,removeweap=3,state=2
:state=2:state=2
Repeat the removeweap for each weapon slot.
Quote: "Marc your a legend and a star if you need a model making or anything let me know."
No problem, glad to be of assistance.
Building up a weapon with 2 seperate parts (that you have to pick up inside the game level while people over the internet is shooting at you), in a multiplayer game with FPSC full version.
I mean that those two parts are needed to complete the weapon so it's possible to use it. Meanwhile just having one part of the weapon, it's unusable.
To find ammo for that weapon you just have to find those two parts again to get 10 more ammo bullets.
Once again it is possible with Project Blue/Green (and probably stock FPSC).
Put this script in the first half of the weapon.
:state=0:dimvar=weappieces,state=1
:state=1,plrdistwithin=40:playertake,addvar=weappieces 1,state=2
:state=2:state=2
Put this script on the second half of the weapon.
:state=0:state=1
:state=1,plrdistwithin=40:playertake,addvar=weappieces 1,state=2
:state=2:state=2
Put this script in a Trigger Zone.
:state=0:state=1
:state=1,varequal=weappieces 2:setvar=weappieces 0,giveweap=yourWeap,state=2
:state=2,varequal=weappieces 2:addvar=A 10,setvar=weappieces 0,state=2
Please note: These will not work in multiplayer as a trigger zone is required. Also, the gun bit will work but the ammo may not add (unless the engine allows adjustment of internal variables). You will need to replace your gun name in the giveweap= action.
@OutdoorGamer, thanks for helping others but don't forget that this is my thread to provide scripts and essentially you are hijacking it.
Quote: "Hey, is it possible to create a script that adds a camera on a vehicle/robot that u can controll and the pics come up on a part of the hud??"
Unless the vehicle/robot is on a fixed course, it is impossible in both stock and Project Green at this time. Cameras can only be viewed one at a time. Besides, the game engine would have to render two cameras instead of one which would probably cause more lag.
I USED TO BE MARC STEENE