TERMINAL (Its in bold so WillieSea can see it Lol X))

Post » Mon Jul 19, 2010 10:15 am

How can I make an option on a terminal disappear after clicking it?

Cheers,

Shadowform.
User avatar
Jessica Phoenix
 
Posts: 3420
Joined: Sat Jun 24, 2006 8:49 am

Post » Mon Jul 19, 2010 9:29 am

Use the result script to change the value of a variable, and conditionalise the menu item to only appear if the variable has a certain value. If you're only going to use a single instance of the terminal, then a global variable would work fine. Otherwise, you'll need to declare the variable in an object script attached to the terminal itself.

Cipscis
User avatar
ZANEY82
 
Posts: 3314
Joined: Mon Dec 18, 2006 3:10 am

Post » Mon Jul 19, 2010 8:27 am

A global variable should work no matter how many terminals use the variable. Unless I misunderstand what your saying.
User avatar
Stat Wrecker
 
Posts: 3511
Joined: Mon Sep 24, 2007 6:14 am

Post » Mon Jul 19, 2010 10:44 am

I was thinking if multiple copies of the terminal would each have their own menu items that can be read once, rather than if reading the menu item on one terminal caused it to no longer be displayed on any terminals. If reading the menu item on one terminal should cause it to disappear on all terminals, then having them all use the same global variable would work fine.

Cipscis
User avatar
Jennifer Rose
 
Posts: 3432
Joined: Wed Jan 17, 2007 2:54 pm

Post » Mon Jul 19, 2010 11:43 am

I also think you would want to check the "Force Redraw" flag for this option so all the options are rewritten.
User avatar
Elle H
 
Posts: 3407
Joined: Sun Aug 06, 2006 3:15 am

Post » Mon Jul 19, 2010 3:01 pm

Ah, I see what you are saying Cipscis, and you are totally right.

Unless you want it to not show up on all terminals if its already been shown on one terminal. :lmao:
User avatar
Princess Johnson
 
Posts: 3435
Joined: Wed Feb 07, 2007 5:44 pm


Return to Fallout 3