InfWeaponData.Item Flags
Jump to navigation
Jump to search
Empires Scripting Documentation |
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials |
Weapon Data Documentation |
Printname | Viewmodel | Playermodel | Anim Prefix | Bucket | Bucket Position | Clip Size | Clip2 Size | Primary Ammo | Secondary Ammo | Weight | Item Flags | Built Right-Handed | Allow Flipping | Melee Weapon |
Item_Flags
Sets a flag of some sort. For grenades, it uses 18 (ITEM_FLAG_NOAUTORELOAD | ITEM_FLAG_EXHAUSTIBLE).
Valid values:
- ITEM_FLAG_SELECTONEMPTY 1
- ITEM_FLAG_NOAUTORELOAD 2
- ITEM_FLAG_NOAUTOSWITCHEMPTY 4
- ITEM_FLAG_LIMITINWORLD 8
- ITEM_FLAG_EXHAUSTIBLE 16 // A player can totally exhaust their ammo supply and lose this weapon.
- Any combination of these numbers.