Locking/Unlocking multiple refs with terminal

Post » Fri May 27, 2011 7:25 pm

I did something like this with FO3 but i cant figure it out now, anyone know how to make a terminal unlock several things (or lock) at once (without linking a reference to the terminal)


Example: on the terminal screen

[Lock]-(would lock 4 doors)
[Unlock]-(would unlock the 4 doors)

the refs are persistant, im just not sure what i would type in the item result script box

Thanks in advance
User avatar
stevie trent
 
Posts: 3460
Joined: Thu Oct 11, 2007 3:33 pm

Post » Sat May 28, 2011 3:33 am

Without using linked references, you'd need to give each door (which must be persistent) its own unique editorRefID, and refer to them with that in the script. For example, to unlock a reference with the editorRefID "MyLockedDoorRef":
MyLockedDoorRef.Unlock

Out of curiosity, why would you not want to link the doors to the terminal? By using linked references, a certain setup can be reused in multiple places and it's generally considered better practice.

Cipscis
User avatar
Anna Watts
 
Posts: 3476
Joined: Sat Jun 17, 2006 8:31 pm

Post » Sat May 28, 2011 7:07 am

lol, im a very stubborn person and i like to stick to how ive always done something, and since i did it like this first i prefer to keep doing it like this :).


Thanks for the comment, ill go try that now


Yay it worked =D, thank you so much, you saved me a lot of trial and error lol
User avatar
Wane Peters
 
Posts: 3359
Joined: Tue Jul 31, 2007 9:34 pm

Post » Sat May 28, 2011 7:38 am

lol, okay new question, if i make the terminal add a note, will it keep adding the note everytime? or just once, if it always adds it, what can i do to make it add it once, and if it doesnt then nevermind lol.


EDIT: Nevermind i can check in game (sorry for wasting your time)...lol >_< if i have problems ill be back though :D
User avatar
Enie van Bied
 
Posts: 3350
Joined: Sun Apr 22, 2007 11:47 pm


Return to Fallout: New Vegas