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 / Door Pin / Keypad

Author
Message
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 20th May 2008 01:20 Edited at: 20th May 2008 01:22
Need a little help with an existing Door Pin Number script. Here's the one taken from my guide:



But I don't think it's complete and I've been trying to get it to work but can't manage it. What bits are missing? Could somebody possibly complete it so I can place the updated version in my guide?

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st May 2008 00:41
The problem with your script is that you have lots of lines of code on a single line in the script. The parser won't read past the last action. You need to put everything on seperate lines.


The one and only,


Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 21st May 2008 10:20
The lines are on separate lines Ply, it just happened to go funny when I cut and pasted it into here. It looks exactly like the one in my guide.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st May 2008 14:44
Well, aside from that I don't see anything wrong with it.

What are you looking for it to do?

From what I can tell, it's going to plays sounds whent he player presses incorrect/correct keys, and activate the IfUsed entity when they correctly put in "3471", then it'll freeze the script after altering the texture.


The one and only,


Login to post a reply

Server time is: 2024-11-24 09:04:18
Your offset time is: 2024-11-24 09:04:18