Community Forum

Is it possible to choose an order for "addHelpButtonText"?

Forum Overview >> Scripting

Created05.05.2017 20:49

Tim Derks (timmiej93) 05.05.2017 20:52
Is it possible to set an order for "addHelpButtonText" and "addExtraPrintText"? It seems like they don't really care in what order they are called, they just get placed randomly. Can this order be set in any way?

As an example:
You want to have "start" above "stop", but when you put
, "stop" appears above "start". Can the order of these items be set?


Emil Drefers (Unknown) 09.05.2017 06:49

the only way to influence the order of rendering is to use:
addHelpButtonText(text, inputActionIndex, inputActionIndex2, prio)


Tim Derks (timmiej93) 10.05.2017 01:25
Thanks for clarifying that Emil.
Is a similar thing possible for 'addExtraPrintText'?

Emil Drefers (Unknown) 10.05.2017 06:56

nope, addExtraPrintText() accepts only one argument (the text).


Tim Derks (timmiej93) 10.05.2017 11:20
I thought so, based on experiments. Thanks for clarifying!

Sebastian P (Unknown) 22.05.2017 13:49
Why would you need start and stop? Why not just have one help line, which changes. If not started, then show start, else show stop

Tim Derks (timmiej93) 22.05.2017 14:28
Like I said, it's an example. It could've said "foo" and "bar" instead. Even though it's not really relevant to this discussion, it's a comment that still might help new modders.

Kenny Je (kenny456) 05.02.2018 11:02
Is it possible to change number of lines of HelpButtonText in F1 menu? My game allways shows only 8 lines, even if there should be more lines.

Note: Log in to post. Create a new account here.