Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
[LUA] Option selection with table and style
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
44.849 KB
15 May, 2019 @ 1:54pm
16 May, 2019 @ 10:24am
3 Change Notes ( view )

Subscribe to download
[LUA] Option selection with table and style

Description
Demonstration of option selection with initialization from a array and some style customisation.

Line in array is like :

{name="option3", position={x=10, y=115, w=265, h=30}, boxColor={r=255, g=255, b=255}, textColor={r=0, g=0, b=0}, enableBorders=true, bordersColor={r=67, g=113, b=249}, text="Option 3", channel=1, value=3, defaultState=false}

------------------------------------------------------------------------------

I had planned toggleable buttons and output type (Boolean / number) but impossible now because actual lenght limitation.