Jump to content
Sign in to follow this  
hicks88

varibles in listbox?

Recommended Posts

hey

is it possible to have a varible as the text for a listbox

eg _name = squadname

index = lbAdd [113, "_name" ]

Share this post


Link to post
Share on other sites
hey

is it possible to have a varible as the text for a listbox

eg _name = squadname

index = lbAdd [113, "_name" ]

_name = squadname

index = lbAdd [113, format["%1", _name]

or in ArmA:

_name = squadname

index = lbAdd [113, str _name]

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×