Jump to content

Need Door terminal opening help


DaemonGrin

Recommended Posts

Ok I posted a couple days ago looking for activator tuts, found some right after posting lol. They are helping a great deal however my scripting sucks something awful. I decided I wanted to use a password protected terminal to open the hidden door.

 

Here's the setup as it stands -

 

Terminal is linked ref to the door which is a persistent ref. The terminal is unlocked with a note found in the level (works perfectly) once accessed there are currently only 3 items Open Door, and 2 notes. The item result from clicking on Open Door is what I need help with.

 

Originally I tried the short script used to unlock before it occurred to me that unlock was the function name (I know I'm slow) which read in the Item Result Script -

 

ref SecretDoor

set SecretDoor to getLinkedRef

SecretDoor.unlock

 

Obviously that wouldn't open the door. So I altered it several times using things like -

 

ref SecretDoor

set SecretDoor to getLinkedRef
SecretDoor.setOpenState 1
nada. Can anyone assist me in getting this darn terminal to open the door?
Thanks,
Geoff
Link to comment
Share on other sites

Open the door's 'Reference' box and give it a unique reference ID (like MySecretDoorREF).

Then, from the terminal:

 

MySecretDoorREF.SetOpenState 1

 

.........I've been unable to sleep its now 6am I have been pounding my head against a brick wall and all I needed was the one line..........Thanks a ton I can sleep now if only for few hours. LoL lesson learned one of those times I get less is more haha.

 

Thanks,

Geoff

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...