weapons: Difference between revisions
Jump to navigation
Jump to search
m (note about "Throw" and handgrenades) |
No edit summary |
||
Line 29: | Line 29: | ||
In version 1.02 this command returns only weapons defined for the primary turret of the vehicle. | In version 1.02 this command returns only weapons defined for the primary turret of the vehicle. | ||
for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"] | for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"] | ||
<dd class="notedate">Posted on 06:01, 3 March 2007 (CET)</dd> | <dd class="notedate">Posted on 06:01, 3 March 2007 (CET)</dd> | ||
<dt class="note>'''[[User:Donnervogel|Donnervogel]]'''</dt><dd class="note">''weapons'' never returns the weapon "Throw" which all soldier units have have to throw handgrenades. You'd have to use [[hasWeapon]] to verfy it. Also handgrenades are not listed since they are magazines. Use [[magazines]] for that.</dd> | <dt class="note>'''[[User:Donnervogel|Donnervogel]]'''</dt><dd class="note">''weapons'' never returns the weapon "Throw" which all soldier units have have to throw handgrenades. You'd have to use [[hasWeapon]] to verfy it. Also handgrenades are not listed since they are magazines. Use [[magazines]] for that.</dd> | ||
<dd class="notedate">Posted on 12:58, 11 March 2007 (CET)</dd> | |||
<dt class="note>'''[[User:Shuko|Shuko]]'''</dt><dd class="note">Since searching for weapons takes you to this page, this link might be useful. [[ArmA:_Weapons]]</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 13:03, 11 March 2007
Description
- Description:
- Returns array of names of all vehicle's weapons.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
wArray = weapons player
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
-
In version 1.02 this command returns only weapons defined for the primary turret of the vehicle.
for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"]
- Posted on 06:01, 3 March 2007 (CET)
- Donnervogel
- weapons never returns the weapon "Throw" which all soldier units have have to throw handgrenades. You'd have to use hasWeapon to verfy it. Also handgrenades are not listed since they are magazines. Use magazines for that.
- Posted on 12:58, 11 March 2007 (CET)
- Shuko
- Since searching for weapons takes you to this page, this link might be useful. ArmA:_Weapons