Zwraca ona następujące dane w formie listy:
Code : Tout sélectionner
[speed, defend, sight, range, eff soft, eff vehicles, eff buildings]
speed - prędkość
defend - współczynnik obrony (pancerz)
sight - zasięg widzenia jednostki
range - zasięg ataku jednostki
eff soft - skuteczność ataku przeciw celom żywym
eff vehicles - ... przeciw pojazdom
eff buildings - ... przeciw budynkom
Code : Tout sélectionner
display_strings := GetProperties(jednostka1);
Funkcje pochodne:
Code : Tout sélectionner
Export Function GetSpeed(unit);
begin
result := GetProperties(unit)[1];
End;
Export Function GetArmor(unit);
begin
result := GetProperties(unit)[2];
End;
Export Function GetRange(unit);
begin
result := GetProperties(unit)[4];
End;