From Bohemia Interactive Community
Click on the images for descriptions
- Operation Flashpoint: Resistance
- Returns name of unit's primary weapon (empty string if none).
- Example 1:
_pWeap = primaryWeapon player;
- Example 2:
hint primaryWeapon player; //"arifle_MX_ACO_pointer_F"
- See also:
- Posted on August 4, 2006 - 10:57
- primaryWeapon tells you what weapon the unit has irrespective of the status of the weapon. For example a unit that has an M16 on his back will still report an M16 as its primary weapon.