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 / ofpscguide - trigger door when object placed... help?

Author
Message
Panther1965
15
Years of Service
User Offline
Joined: 10th Nov 2009
Location:
Posted: 20th Nov 2009 04:33
I want to modify the script in the guide that lets you place an object onto a pedastal to open a remote door (page 83), So that the player can also trigger the event. I tried..



However this does not work.

I am completely new to scripting and I was wondering if there is a way of puting an OR clause in the conditions. So the door will trigger if an object is on the pedastal or if the player is. And of course the door is to close when neither are on the pedastal?

Any help is greatly appreciated.


Thank you in advance

Panther1965
Panther1965
15
Years of Service
User Offline
Joined: 10th Nov 2009
Location:
Posted: 23rd Nov 2009 11:42
After playing around I found a solution.
The following script opens the door if an object, or just the player stands on the pedastal (pressure plate) and the door closes if neither is on the pedastal.



Hope this is of some use to someone.

Cheers

Panther1965
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 17th Dec 2009 17:01
Cool.

Login to post a reply

Server time is: 2025-05-27 19:08:17
Your offset time is: 2025-05-27 19:08:17