[Posting] Re: Questions about PCC2
From:streu
Thread:Questions about PCC2
Forum:Bugs
In reply to:Re: Questions about PCC2
Date:Tue, 2019-12-03 19:15 GMT

This is not possible. However, you can use user-defined properties in the ship/planet label, and put any value you want in user-defined properties.

Can I do this in a program or only in a dialog box?

What exactly are you trying to achieve?

You can create a user-defined property

CreatePlanetProperty foo
ForEach Planet Do foo := Name & " #" & Id

If you use that as label expression - foo - it will show the result on the starchart. You can change it maually by entering something like foo := "Hi mom" on the console, or by using a script that sets it for some or all planets. That script can ask for input using UI.Input of course.

For PCC2ng, I have also added a "AddPref" command to modify the ini file. I am not yet sure when this can be added to the regular, stable PCC2.

--Stefan