this is a itemDef to use your keyboard input in any menu and save the input
in your menu where onopen is put this in your raw folder make a new folder named allmods in that folder make a new cfg name it allmods put this in that this will make it so the keybord input will save and can be loaded back up every time the mod loads allmods_keybord_input_saved is what will be loaded on mod start and the dvarString you need to show typed text else where
with this add this to mod csv
this is just a image button i did since there was not one in the game
you can use exp material and set the pic from gsc and chang it when ever you want or just use background for a single pic can use on any action , mouseEnter and mouseexit for pick up in gsc can also set dvar on a player setdvar dvar_1 "1"; change them to what you want
or you can do like i did and have the pic change on mouse enter and exit
onopen set main pic
then
the pic switches and when clicked munu will send a scriptMenuResponse for that close menu and on mouseEnter will play a sound all this is set up in gsc like this
that is sound and what to do when clicked
Last Edit: December 29, 2022, 07:41:57 pm by AllMoDs