X4: Foundations

X4: Foundations

SirNukes Mod Support APIs
Celludriel 2021 年 3 月 27 日 上午 11:09
Widget menu screenshot
Hey,

In one of your screenshots there is the widget menu. Do you have the example code to get that going ?

What I like to do is create a mod to find all the min and max prices of a ware and it's station in the players sattelite network. for this I need a right click context menu, that when you click it, it fetches the data and opens a widget to show the data to the player. Also with a close button ofcourse.

However I do find how to add a context menu follow action which is neat , but I want to open a widget and I don't find any clear example of that in your documentation. Your screenshot here on steam looks exactly what I want though.

Can you enlighten me please ?
< >
正在显示第 1 - 1 条,共 1 条留言
Celludriel 2021 年 3 月 28 日 下午 1:27 
I figured it out in the meanwhile here you can find the example

https://github.com/Celludriel/X4PriceComparator/tree/develop
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50