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 / Key Door Problem

Author
Message
Cruise McClarren
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 5th Dec 2006 19:21
For some reason when I use a key to open a door, it works fine. When I go into the room and the door closes, I can't reopen the door. How do I fix this?

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 5th Dec 2006 20:36 Edited at: 5th Dec 2006 20:39
Show us the code in the script you are using for the door.

Don't forget to visit Conjured Entertainment
Cruise McClarren
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 5th Dec 2006 22:08
code for door.

That would do it. So what is causing it?

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 5th Dec 2006 22:17
Someone asked me to make them a script to do just that, I don't know if that was you, but you may want to repair your FPSC to get the original doorkey.fpi back.

Nue B. or not Nue B. That is the question.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 6th Dec 2006 07:03 Edited at: 6th Dec 2006 07:05
This is strange...
That is the default script except for the name of the hud (Prison Door.tga)
That should not cause a problem though. (although I never use spaces or caps in scripts)
I don't know what to tell you, since the script looks ok.

Are you remembering to hit enter to open it?
I know that seems like a dumb question, but again I see no reason why it shouldn't open again.

Is the door promt displaying when you walk back to the door?
If so, then we know it is returning to state=10 after the door closes.
In that case it simply is not accepting the fact that you still have the key.

If it doesn't display the promt again, then it is not returning to state=10 like it should.

Don't forget to visit Conjured Entertainment
Cruise McClarren
19
Years of Service
User Offline
Joined: 23rd Aug 2005
Location:
Posted: 6th Dec 2006 18:29
I am hitting enter and when the door closes while I am inside, I get no hud display at all. So would that mean that state is not resetting to allow you to re-access the door?

LIFE: "That thing that happens to us when we are too young to die"
~V.J.C. 2003
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 7th Dec 2006 05:07
Quote: ":state=2,plrdistfurther=60:state=3,sound=$1,colon
:state=3:decframe=0
:state=3,frameatstart=0:state=10,setframe=0"


STRANGE

If it is closing then you are more than 60 away so the animation should dec and hit zero causing it to 'reset'.

I don't know what to tell you becuase the script looks good.
Try a different type door, or try renaming that image with no spaces and caps or both.

This just doesn't make sense.

Don't forget to visit Conjured Entertainment
mister shakes
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Amishville
Posted: 13th Dec 2006 17:58
i made one that works. in this script, i create a timer that will shut the door automatically after 5 seconds. good in itself but i took out the plrdistfurther line. compare them side by side and youll see the difference.

Login to post a reply

Server time is: 2024-11-23 05:27:47
Your offset time is: 2024-11-23 05:27:47