ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Weapon0

From ModEnc
Jump to navigation Jump to search

Since the game actually uses 0-based indexing, sometimes people might mention this concept. For INI editors, the weapon specified by Weapon1 or Primary is the unit's weapon number 0. When communicating in this way, it is necessary to ensure that both parties use either 0-based indexing or 1-based indexing to avoid misunderstandings.

For cases where various forces specify a specific weapon index, such as NoAmmoWeapon and DeployFireWeapon, they always use a 0-based weapon index.