kampeao Posted December 5, 2011 Share Posted December 5, 2011 I don't know if this is the right section, sorry if it isn't,anyway...I want to make an option in a terminal that will make the terminal close/the menu close.In-game i can use the CAM command, but is there a function to close a menu?--------Edit--------Another question:I got an option in a terminal with the condition item target Function Name Function Info Comp Value subject GetItemCount Misc Item: "Caps001" >= 500.00 So, i want that option to appear only if the player has 500 caps or more...however, something's wrong, becasue whether i have 1 cap or 100000 caps, it doesnt show up...Can anyone help please? Link to comment Share on other sites More sharing options...
Tefnacht Posted December 5, 2011 Share Posted December 5, 2011 Hi. The command to close a terminal is called “ForceTerminalBack”. It can only be used from a terminals item result script. If you are in a submenu you might have to use the command more than once to completely close the terminal, otherwise the terminal will only return to the previous menu (like choosing the Back option). As for the second question, I believe with terminals you have to specifically run the condition on the player reference for things like GetItemCount to work, since “subject” would be the terminal itself.In the condition editor, for “Run on” select “Reference”, then click “Select”. In the “Choose Reference” window, browse the lower dropdown menu and choose “PlayerRef ('Player')”. The cell does not matter in this case. Close the window with “Ok”.If you did it right, the “Run on” menu should now read “Reference 14 (Player in ...)”. Good luck. Link to comment Share on other sites More sharing options...
kampeao Posted December 6, 2011 Author Share Posted December 6, 2011 (edited) It worked like a charm...Thanks for taking the time and the trouble to help me :)I was about to quit...Thanks and god bless you :Pkudos to you :biggrin: Edited December 6, 2011 by kampeao Link to comment Share on other sites More sharing options...
Recommended Posts