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 / is their a way to make a switch take health when you switch it?

Author
Message
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 4th May 2011 02:22
would like to know if it possible to boobytrap a switch to kill you when you use it?


its for my up and coming commercial game, which relise on events like these and soforth

all the help would be apreciated

thanks

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 4th May 2011 02:30
:state=0,plrdistwithin=40,plrusingaction=1:plraddhealth=-1000

Bye bye, you're dead!

defiler
15
Years of Service
User Offline
Joined: 4th Apr 2009
Location: Canada
Posted: 4th May 2011 05:35
Better yet! Have a pit the player

Current Project: Lost Contact: Chapter 1
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 5th May 2011 22:58
Quote: ":state=0,plrdistwithin=40,plrusingaction=1:plraddhealth=-1000"


Do i just modify that on the current swith fpi? and where abouts should i possision the line of code?

thanks xplosys

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!
Anigma
13
Years of Service
User Offline
Joined: 25th Mar 2011
Location:
Posted: 6th May 2011 15:27
Quote: "Do i just modify that on the current swith fpi? and where abouts should i possision the line of code?"


No, if you do that then *every* switch you use will be lethal.

Copy and paste the code xplosys gave you into a new text document and save it as "killswitch.fpi" (or whatever you want to name it) and then right click the switch and change the main fpi (where you see switch.fpi) to killswitch.fpi.

It compiled! Ship it!
Nazareth Entertainment
13
Years of Service
User Offline
Joined: 8th Dec 2010
Location: Under the desk
Posted: 7th May 2011 16:53
thanks man apreciate that dude

Deathkon 3000 is no longer in production..... and no their was no "curse" its just the fact i couldnt be botherd!

Login to post a reply

Server time is: 2024-11-24 08:38:37
Your offset time is: 2024-11-24 08:38:37