The menu engine can works with levels. The level of each item is decribed by this folowing structure:
As the definition of the structure shows, !level! starts from 0 (the root level) to 26-1=63 (the most little leaf). Another field !hide! describes if the item should be hide or not and the last field !draw! is internally used to know if an entry should be drawn or not.
If we want to do:
+ l_1 + l_11 + l_12 + l_121 + l_13 + l_2 + l_3 + l_31 + l_32
So the structure should be:
Then if you want to hide every subnode of !l_1!:
The engine will only draw:
+ l_1 + l_2 + l_3 + l_31 + l_32