selectWeapon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|SELECTWEAPON]] | ||
[[Category:Scripting Commands OFP 1.97| | [[Category:Scripting Commands OFP 1.97|SELECTWEAPON]] | ||
[[Category:Scripting Commands OFP 1.46| | [[Category:Scripting Commands OFP 1.46|SELECTWEAPON]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|SELECTWEAPON]] | ||
Revision as of 15:54, 4 May 2006
unit selectWeapon weapon
Operand types:
unit: Object
weapon: String
Type of returned value:
Compatibility:
Added in version 1.27
Description:
Select given weapon.
For weapon values see cfgWeapons.
Example:
soldier1 selectWeapon "LAWLauncher"