Score:Int() (read-only)
Get unit's score of a given type.
PHost can associate various scores with ships and planets (utilX.dat records 49 and 50). This property makes these scores available to scripts. Valid parameters can be found in the PHost documentation. As of PHost 4.1, the following values are valid:
- Score(1): experience level (same as Level).
- Score(2): experience points.
This property yields EMPTY if the respective score does not exist or is not known.
Since: PCC 1.1.16, PCC2 1.99.21
See also: Planet Properties, Ship Properties