DaemonGrin Posted June 21, 2013 Share Posted June 21, 2013 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 SecretDoorset SecretDoor to getLinkedRefSecretDoor.unlock Obviously that wouldn't open the door. So I altered it several times using things like - ref SecretDoorset SecretDoor to getLinkedRefSecretDoor.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 More sharing options...
jazzisparis Posted June 21, 2013 Share Posted June 21, 2013 Open the door's 'Reference' box and give it a unique reference ID (like MySecretDoorREF).Then, from the terminal: MySecretDoorREF.SetOpenState 1 Link to comment Share on other sites More sharing options...
DaemonGrin Posted June 21, 2013 Author Share Posted June 21, 2013 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 More sharing options...
Recommended Posts