No edit summary
No edit summary
Line 4: Line 4:




==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.


"INFANTRY", "MECH", "MOTORBIKE", "SNIPER"
Possible values are:
{| class="wikitable"
!colspan="10"|Ground Units
|-
|style="text-align: center;"|'''INFANTRY'''
|style="text-align: center;"|'''MECH'''
|style="text-align: center;"|'''SNIPER'''
|style="text-align: center;"|'''MOTORBIKE'''<ref>Same Unit as Anti Air</ref>
|-
|style="text-align: center;"|'''ZCOUNIT_PARTISAN'''
|style="text-align: center;"|'''ZCOUNIT_COMMANDO'''<ref>Same Unit as Md Tank</ref>
|style="text-align: center;"|'''ZCOUNIT_RANGER'''<ref>Same Unit as Oozium</ref>
|style="text-align: center;"|'''ZCOUNIT_AT_CYCLE'''<ref>Same Unit as Tank</ref>
|}
 
 
 
Of these, the ones with the '''ZCOUNIT_''' prefix are Units specific to COs that cannot be deployed by the rest.

Revision as of 04:38, 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.

  1. Same Unit as Anti Air
  2. Same Unit as Md Tank
  3. Same Unit as Oozium
  4. Same Unit as Tank