Sorry your browser is not supported!

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.

FPSC Classic Scripts / An old fogey looking for help again - too many weapons!

Author
Message
Grandpamike
14
Years of Service
User Offline
Joined: 18th Oct 2010
Location:
Posted: 12th Oct 2012 11:38
You gents were kind enough to help out a 75 year old newbie some time ago - please help again: In essence,and in simple terms, how do you get rid of a weapon in FPSC? I know there are scripts for this, but how do I use them and where do I put them? (I'm making several levels where you move from one period of warfare to another - so as an example I don't want to still have a medieval mace when I move from a medieval period to modern warfare). Is there any way one can actually prevent FPSC from transferring weapons from one level to another - that would be ideal!
I do hope you more knowledgeable gents will assist again as you did in the past - but spoonfeed me, please - the old 75 year noggin isn't as sharp as it used to be way back.
Regards to all.
Grandpa Mike

Old guy in a modern world
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 12th Oct 2012 15:04
Hi Grandpa Mike You need to apply this script to the Main area of a trigger zone:

:state=0:resetplrweapons,destroy

This will remove any weapons that the player has. Let me know if it works.


Slenderman's Shadow - Sanatorium
http://forum.thegamecreators.com/?m=forum_view&t=199408&b=35
Ross tra damus
3D Media Maker
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 12th Oct 2012 15:05 Edited at: 12th Oct 2012 15:09
Grandpamike

Check out the link below:

http://forum.thegamecreators.com/?m=forum_view&t=142478&b=24

I'm not sure if the latest versions of FPSC have extra commands/actions to be able to do this (I use FPSC v-1.09)?

All the best of luck.

EDIT - Pipped to the post by Marc with the right way to go, good luck.
Grandpamike
14
Years of Service
User Offline
Joined: 18th Oct 2010
Location:
Posted: 15th Oct 2012 11:21
Gosh - I wish all of life's problems could be solved so easily! Many thanks, gents and, to put it mildly I am most gratified by the very prompt responses. Thanks to you all - and now I know how to use the weapon scripts in version 120 as well.
Regards,
Grandpa Mike

Old guy in a modern world

Login to post a reply

Server time is: 2024-11-23 20:05:32
Your offset time is: 2024-11-23 20:05:32