OSP Code QoL Dynamic Kingdom Troop Tree Presentation

Currently viewing this thread:

Quintillius

Master Knight
WB
Best answers
0
Thanks for the script! Really useful. But what should I change if I have more than 10 tiers? Let's say 15.
 

Aruda

Knight at Arms
VC
Best answers
0
Is it possible to create a slider to the faction selection bar? I have 27 factions total and it doesnt fit the bar. Thanks.
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
36
Aruda said:
Is it possible to create a slider to the faction selection bar? I have 27 factions total and it doesnt fit the bar. Thanks.
get Lav's modsys, see section Z23. Example

Code:
create_slider_overlay                             =  914  # (create_slider_overlay, <destination>, <min_value>, <max_value>),
                                                          # Creates horizontal slider overlay, with positions of the slider varying between min and max values. Current value of the slider can be changed with (overlay_set_val). Returns slider's overlay_id.
you can look at any modsys (like Native) on how to use it. And how to use other widgets to design your UI.