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 / Padlocked Doors

Author
Message
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 28th Jan 2008 15:59 Edited at: 28th Jan 2008 16:01
I am making a game and I know this can be done but how?

I want a door that cannot be opened by pressing the use button but instead you need to attack a padlock attached to the door?

thanks

Your signature has been erased by a mod
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 28th Jan 2008 19:22
Well, you could script the padlock to ACTIVATEIFUSED when it's destroyed......use destroyandactivate.fpi

Put the name of your door in it's if used box, then make your door have the script doorremote.fpi.......

Should work, THEinORY......

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 28th Jan 2008 19:27
...you could also use this script that Plystire posted:



It works pretty well.


Widow 13 - ©2008 Harsh Games, Inc

Attachments

Login to view attachments
SKULL MONKEY
17
Years of Service
User Offline
Joined: 17th Dec 2006
Location:
Posted: 29th Jan 2008 02:07
thanks guys that did the trick

Your signature has been erased by a mod

Login to post a reply

Server time is: 2024-11-24 03:44:50
Your offset time is: 2024-11-24 03:44:50