Weapons – ArmA: Armed Assault Talk
Line 36: | Line 36: | ||
... but this will... | ... but this will... | ||
[code] | [code] | ||
if ( "Stinger" in weapons player) then { | if ( "Stinger" in weapons player) then { | ||
hint "has a Stinger"; | hint "has a Stinger"; | ||
Line 42: | Line 44: | ||
hint "has no stinger"; | hint "has no stinger"; | ||
} | } | ||
[/code] | [/code] | ||
A further warning using sidechat to list weapons will result in the weapon list being force to upper case, hints are left in the orginal case... | A further warning using sidechat to list weapons will result in the weapon list being force to upper case, hints are left in the orginal case... | ||
[[User:BarmyArmy|BarmyArmy]] | [[User:BarmyArmy|BarmyArmy]] |
Revision as of 23:03, 25 April 2007
KVPT, M107, and AKS74PSO do not exist right now. should these really be listed? or at least find a way to mark them that they are invalid right now.--Pyro05x 04:54, 27 January 2007 (CET)
- I haven't verified this, so I don't want to enter it myself, but feel free to add a little note to the relevant entries that they might be (temporarily) non-functional. --Kronzky 17:04, 27 January 2007 (CET)
I have marked the relevant weapons as 'not yet available'.
btw - KPVT is available in the game the BRDM2 is armed with it, I think you meant the KSVK
Planck 18:38, 27 January 2007 (CET)
- I noticed that this information was removed recently. A lot of us are running version 1.02 still; should the M16A4, M16A4_GL, M16A4_ACG, M16A4_ACG_GL, M107, AKS74PSO, and KSVK still be marked as version 1.04 content? Maybe add an "ArmA version" column? perhaps this information would clutter the wiki, but i think it would be neat to track the progress of content that is added.--Pyro05x 07:36, 20 February 2007 (CET)
- I'm not sure there would be much point considering the next patch will make everyone equal as far as content and version numbers go, those that bother to update anyway.
- Planck 15:06, 20 February 2007 (CET)
Names are case sensitive
Weapon names in ARMA and probably OFP are case sensetive, when detecting weapons.
The following will always work..
[code] player addWeapon "STINGER"; player selectWeapon "STINGER"; [/code]
The following will NOT yeild the expected result...
[code] if ( "STINGER" in weapons player) then {
hint "has a Stinger";
} else {
hint "has no stinger";
} [/code]
... but this will...
[code]
if ( "Stinger" in weapons player) then {
hint "has a Stinger";
} else {
hint "has no stinger";
}
[/code]
A further warning using sidechat to list weapons will result in the weapon list being force to upper case, hints are left in the orginal case...