Add Section Dividers to Command Menus?

The place to discuss scripting and game modifications for X³: Farnham's Legacy

Moderators: Moderators for English X Forum, Scripting / Modding Moderators, Moderators for the X3:FL Forums

Post Reply
User avatar
akeelah
Posts: 231
Joined: Fri, 14. Mar 08, 17:01
x3tc

Add Section Dividers to Command Menus?

Post by akeelah » Sun, 5. Nov 23, 23:47

Is it possible to add and/or reposition section dividers in the Command Menus when adding a number of additional commands to say, the ship's Navigation Menu?

[ external image ]
Universal Cargo Transfer (UCarT) -- Unleash the power of your Transporter Device!

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22230
Joined: Sun, 14. Nov 04, 23:26
x4

Re: Add Section Dividers to Command Menus?

Post by Cycrow » Mon, 6. Nov 23, 00:13

you can use the command

Code: Select all

add command override order: menu=<Menu>, commands=<Array>
to adjust the order of the commands for each menu

you can separate each group in a separate array, and a separator will be added between them

User avatar
akeelah
Posts: 231
Joined: Fri, 14. Mar 08, 17:01
x3tc

Re: Add Section Dividers to Command Menus?

Post by akeelah » Mon, 6. Nov 23, 00:26

Very interesting. Thank you.

Where is this command to be used, in a setup script? If so, will any setup script for any command in a given Command Menu work?

The 'Menu' parameter is presumably the integer ID for the Command Menus (1=Nav, 2=Combat, 3=Trade, etc.), is that right?
Universal Cargo Transfer (UCarT) -- Unleash the power of your Transporter Device!

Post Reply

Return to “X³: Farnham's Legacy - Scripts and Modding”