Still working on that project 10 years later? Regardless I think I know what's going wrong for you and what might be for others in the future.
So like you said: in the data editor go to view tab and de-select "combine structure values" and select "view raw data". Find the unit you want to have a submenu that doesn't revert to the uhhh... main menu/command card after every button press. Of course make sure the unit container is selected not the abilities, buttons etc and type in "sub" into the search bar. You should see these 2 lines among others:
so im having a bit of a hard time getting this function to work :(
When i spend points it sends me back to the menu 1 from submenu 2 . annoying when trying to spend 20 poits.
I tried going to the Unit info tab with * raw Data * Ability - card layout - Layout buttons - submenu sticky: and changed the value from 0 to 1
but it didn't work , am i doing something wrong here? i did it on all the Layout buttons that showed up.
Still working on that project 10 years later? Regardless I think I know what's going wrong for you and what might be for others in the future.
So like you said: in the data editor go to view tab and de-select "combine structure values" and select "view raw data". Find the unit you want to have a submenu that doesn't revert to the uhhh... main menu/command card after every button press. Of course make sure the unit container is selected not the abilities, buttons etc and type in "sub" into the search bar. You should see these 2 lines among others:
Ability: CUnit_CardLayouts_LayoutButtons_SubmenuIsSticky ((0|0|0|0|0|0|0)|(0|0))
Ability: CUnit_CardLayouts_LayoutButtons_Type((AbilCmd|AbilCmd|AbilCmd|AbilCmd|AbilCmd|AbilCmd|Submenu)|(AbilCmd|CancelSubmenu))
The brackets and 0s will vary with command cards. You'll want to turn specifically the 0 that correlates with the "Submenu" to 1
ie ((0|0|0|0|0|0|1)|(0|0))
TLDR:
To sticky a submenu you 0 -> 1 the button that takes you to the submenu