Infantry Units: Difference between revisions
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
Of these, the ones with the '''ZCOUNIT_''' prefix are Units specific to COs that cannot be deployed by the rest. | Of these, the ones with the '''ZCOUNIT_''' prefix are Units specific to COs that cannot be deployed by the rest. | ||
==Notes== | |||
<references/> | |||
[[Category:Units]] |
Revision as of 04:39, 3 March 2023
Infantry Units stats and properties can be modified as a whole, by using the GameEnums.UnitType_Infantry variable:
For instance:
Modifying stats or properties of specific Units
Each Unit can be modified through a comparison of the UnitID. The Unit ID can be obtained through unit.getUnitID() And it's of a String type.
Possible values are:
Ground Units | |||||||||
---|---|---|---|---|---|---|---|---|---|
INFANTRY | MECH | SNIPER | MOTORBIKE[1] | ||||||
ZCOUNIT_PARTISAN | ZCOUNIT_COMMANDO[2] | ZCOUNIT_RANGER[3] | ZCOUNIT_AT_CYCLE[4] |
Of these, the ones with the ZCOUNIT_ prefix are Units specific to COs that cannot be deployed by the rest.