[1.31] Wing Context Menus only trigger if target is in the wing, Eg Wing Attack Target

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

User avatar
Matterom
Posts: 424
Joined: Thu, 20. Aug 09, 08:17
x4

[1.31] Wing Context Menus only trigger if target is in the wing, Eg Wing Attack Target

Post by Matterom »

In the file menu_interactmenu.lua and in the function "menu.insertLuaAction"

Code: Select all

elseif actiontype == "attackplayertarget" then
    if (istargetinplayersquad or istargetplayeroccupiedship) and GetPlayerTarget() then
This and all wing functions appear to only come up in the context menu if the target IS in the players squad. Thus making wing commands impossible to use in any practical sense. All the wing commands should come up when targeting any ship as crucial as they are and, If at all possible, i'd ask that wing commands allowed to be hotkeyable so we don't have to fumble with right click context menus.
My Mods:
Sector Administration: A Tax Mod
User avatar
Brianetta
Posts: 3203
Joined: Tue, 12. Nov 02, 14:22
x4

Re: [1.31] Wing Context Menus only trigger if target is in the wing, Eg Wing Attack Target

Post by Brianetta »

Please yes, let me assign hotkeys to wingships.

To be clear: These hotkeys should wipe the orders queue before adding their order, because in a scrap you want them doing what you say, immediately.
PGP fingerprint: FA3D CA2F 38D3 BA69 87E1 D52E C204 FB5C 430A 0BFA

Return to “X4: Foundations - Technical Support”