Add to Wing Hotkey

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Joelnh
Posts: 429
Joined: Wed, 3. Mar 10, 00:12
x3tc

Add to Wing Hotkey

Post by Joelnh » Sun, 26. Jun 16, 14:57

Hello,

I am trying to figure out a way to add a targeted ship to a designated wing in LU.
I know you can do it through the command console and a few clicks, I was looking for a 1 button press option.
Kind of like the Tug command.

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Sun, 26. Jun 16, 16:05

Code: Select all

$wing = [NULL] -> get user input without sector: type=[Var/Wing], title='Choose a wing bitch!'
$aim = get player tracking aim
$aim -> add to flight wing: wing $wing

Joelnh
Posts: 429
Joined: Wed, 3. Mar 10, 00:12
x3tc

Post by Joelnh » Sun, 26. Jun 16, 17:11

Thank you Joubarbe, I successfully created that hotkey script and setup file to add it. 8)

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”