Deleted32363610User Posted March 7, 2017 Share Posted March 7, 2017 I have a terminal with a menu item called "Power on elevator". This powers on my elevator when selected.How do I change or remove the menu item. As it only needs to be selected once. Link to comment Share on other sites More sharing options...
shavkacagarikia Posted March 7, 2017 Share Posted March 7, 2017 (edited) You mean when used once, it should be removed from player's inventory? If so, use Game.Getplayer().RemoveItem(yourItemProperty,1,true) when player chooses any option. EDIT: I have read your post second time and maybe you want to hide terminal menu, after player chooses it once. If so, create a new global variable and set it's default value to 0. Now open your terminal and choose the menu item you want to be hidden and inside papyrus fragment write YourGlobalVar.setvalue(1). (you should make the property of that variable first). Then under item conditions add new condition GetGlobalValue - YourGlobalValue - == - 0. This should do what you want Edited March 7, 2017 by shavkacagarikia Link to comment Share on other sites More sharing options...
Deleted32363610User Posted March 7, 2017 Author Share Posted March 7, 2017 (edited) Player's inventory? What? No items are added or removed.I want a menu option in a terminal to be removed or changed. Edited March 7, 2017 by Guest Link to comment Share on other sites More sharing options...
Deleted32363610User Posted March 7, 2017 Author Share Posted March 7, 2017 (edited) Thank you. I will try that. QUESTION: How do I create a new global variable? I'm a noob Edited March 7, 2017 by Guest Link to comment Share on other sites More sharing options...
shavkacagarikia Posted March 7, 2017 Share Posted March 7, 2017 You can find it in object window. It's under Miscellaneous/Global. Don't forget to give it unique id. Link to comment Share on other sites More sharing options...
BlahBlahDEEBlahBlah Posted March 8, 2017 Share Posted March 8, 2017 Sorry, wasn't able to get back to your other thread or my PC.This is an example (from a quick Google search) of what I had meant (in your other thread) when I mentioned off the top of my head "bool onlyonce" (essentially what a 0/1 global variable does, actually): Scriptname BobbleheadSkillScript extends ObjectReference bool OnlyOnce Perk Property PerkToAdd Auto Const Event OnActivate(ObjectReference akActionRef) If OnlyOnce == false If akActionRef == game.GetPlayer() game.GetPlayer().AddPerk(PerkToAdd) OnlyOnce = true endif endif EndEvent Anyhow, looks like you've found a better way. So, good luck. =)(I use Global Variable objects a lot when adding collectibles to the my menu, so I agree that it's a good way to do it, for sure...and probably much better optimization wise) Link to comment Share on other sites More sharing options...
Deleted32363610User Posted March 8, 2017 Author Share Posted March 8, 2017 (edited) Thank you guys! I used shavkacagarikia solution. That worked for me. Edited March 8, 2017 by Guest Link to comment Share on other sites More sharing options...
BlahBlahDEEBlahBlah Posted March 8, 2017 Share Posted March 8, 2017 Edit: Nevermind. I gotta go back to reading comprehension 101. Finally understand you're doing conditions, not a script. =/ Example of global variable usage from a recipe of mine: Link to comment Share on other sites More sharing options...
Recommended Posts