Nelis75733126 – User talk
Killzone Kid (talk | contribs) (→Kronzky note: new section) |
Lou Montana (talk | contribs) m (Text replacement - "Nelis.75733126" to "Nelis75733126") |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TOC|side}} | |||
== switch vs call == | == switch vs call == | ||
I moved your note to talk since cannot confirm the validity of your claim [[User: | I moved your note to talk since cannot confirm the validity of your claim [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 23:01, 5 July 2015 (CEST) | ||
== [[weaponsItemsCargo]] == | == [[weaponsItemsCargo]] == | ||
The empty string in your example is present in both arrays. How can you say the magazine array is an empty string if the string was always there? It only returns weapon cargo. If there is no magazine in the gun it is not part of the cargo. The command is not bugged. | The empty string in your example is present in both arrays. How can you say the magazine array is an empty string if the string was always there? It only returns weapon cargo. If there is no magazine in the gun it is not part of the cargo. The command is not bugged. - [[User:Benargee|Benargee]] ([[User talk:Benargee|talk]]) 04:11, 22 August 2015 (CEST) | ||
You did not read what I said. INSTEAD of the non-existent mag being an EMPTY STRING, IT IS NOT THERE. Which means that checking for a mag in a weapon is stupidly difficult. I will do it again for you: | You did not read what I said. INSTEAD of the non-existent mag being an EMPTY STRING, IT IS NOT THERE. Which means that checking for a mag in a weapon is stupidly difficult. I will do it again for you: | ||
Line 11: | Line 12: | ||
WITH MAG AND WITHOUT BIPOD: ["weaponClassName","silencer","laser/light","scope",["magClassName",30],""] | WITH MAG AND WITHOUT BIPOD: ["weaponClassName","silencer","laser/light","scope",["magClassName",30],""] | ||
See the difference?? | See the difference?? - [[User:Nelis75733126|Nelis75733126]] ([[User talk:Nelis75733126|talk]]) 15:35, 22 August 2015 (CEST) | ||
Sorry, I just reread it. My mistake. I have to disagree with being stupidly difficult though. You could use this method: | Sorry, I just reread it. My mistake. I have to disagree with being stupidly difficult though. You could use this method: | ||
< | <sqf> | ||
_hasMag = ( | _weapCargo = weaponsItemsCargo player; | ||
if (_hasMag) then {hint "Weapon has a magazine} else {hint "Weapon doesn't have a magazine"};</ | _hasMag = (typeName (_weapCargo select 4) == "ARRAY"); | ||
This | if (_hasMag) then { hint "Weapon has a magazine" } else { hint "Weapon doesn't have a magazine" }; | ||
</sqf> | |||
This doesn't justify as a reason not to fix this, but there is at least a solution.<br> | |||
[[User:Benargee|Benargee]] ([[User talk:Benargee|talk]]) 02:03, 23 August 2015 (CEST) | [[User:Benargee|Benargee]] ([[User talk:Benargee|talk]]) 02:03, 23 August 2015 (CEST) | ||
== Kronzky note == | == Kronzky note == | ||
I deleted your first note, because it is misleading, and not what Kronzky note says at all [[User: | I deleted your first [[spawn]] note, because it is misleading, and not what Kronzky note says at all [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 15:49, 25 August 2015 (CEST) | ||
== nearRoads == | |||
Could you please report issues on Feedback Tracker instead? Thanks [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 19:08, 30 September 2016 (CEST) | |||
== Community wiki == | |||
I have removed your obscene comment. If you have an issue with wiki content or how it is managed, you can always contact one of the administrators. Otherwise please refrain from such behaviour in the future or your editor access to the wiki will be removed. [[User:Killzone_Kid|Killzone_Kid]] ([[User talk:Killzone_Kid|talk]]) 21:29, 2 May 2017 (CEST) |
Latest revision as of 15:38, 29 June 2024
switch vs call
I moved your note to talk since cannot confirm the validity of your claim Killzone_Kid (talk) 23:01, 5 July 2015 (CEST)
weaponsItemsCargo
The empty string in your example is present in both arrays. How can you say the magazine array is an empty string if the string was always there? It only returns weapon cargo. If there is no magazine in the gun it is not part of the cargo. The command is not bugged. - Benargee (talk) 04:11, 22 August 2015 (CEST)
You did not read what I said. INSTEAD of the non-existent mag being an EMPTY STRING, IT IS NOT THERE. Which means that checking for a mag in a weapon is stupidly difficult. I will do it again for you: WITHOUT BIPOD AND MAG: ["weaponClassName","silencer","laser/light","scope",""] WITH MAG AND WITHOUT BIPOD: ["weaponClassName","silencer","laser/light","scope",["magClassName",30],""]
See the difference?? - Nelis75733126 (talk) 15:35, 22 August 2015 (CEST)
Sorry, I just reread it. My mistake. I have to disagree with being stupidly difficult though. You could use this method:
This doesn't justify as a reason not to fix this, but there is at least a solution.
Benargee (talk) 02:03, 23 August 2015 (CEST)
Kronzky note
I deleted your first spawn note, because it is misleading, and not what Kronzky note says at all Killzone_Kid (talk) 15:49, 25 August 2015 (CEST)
nearRoads
Could you please report issues on Feedback Tracker instead? Thanks Killzone_Kid (talk) 19:08, 30 September 2016 (CEST)
Community wiki
I have removed your obscene comment. If you have an issue with wiki content or how it is managed, you can always contact one of the administrators. Otherwise please refrain from such behaviour in the future or your editor access to the wiki will be removed. Killzone_Kid (talk) 21:29, 2 May 2017 (CEST)