-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add CBA_fnc_binocularMagazine #325
Conversation
I was wondering if this would be any faster: but it's actually a little slower than the for loop; |
Yeah. Was doing the same right now and had the same result.
|
Unfortunitly that will break unique magazine ids 😢 |
As expected... it would be nice if we could get an optional parameter to keep magazine IDs. |
hmm, true. I don't see any other way though |
We could do something like a magID lookup map.
@commy2 - What about using this for CBA_fnc_addBinocularMagazine:
|
|
Yeah, but anyone else using |
i just took a look at the model and found 2 thing that you should improve, the Polycount in this parts of the model is way to high |
joko, I think you took a wrong turn somewhere. |
what the Fuck how did this work... Fu you github... i just realise what you mean dafug |
I'll just leave this here for @jokoho48 |
|
||
Description: | ||
Adds a magazine to the units rangefinder. | ||
Note that this breaks the unique magazine ids due to the usage of setUnitLoadout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an empty line after the first sentence. The first sentence can(*) then be used to generate a description
field for CfgFunctions entries.
(*) The old Ruby script that does this needs updating, but with the Description: paragraph in this form, automation is possible.
CBA_fnc_binocularMagazine
which reports the units "binocular magazine" (laserbatteries in laserdesignator)CBA_fnc_addBinocularMagazine
which adds a magazine to the units binocular.CBA_fnc_removeBinocularMagazine
which removes the units "binocular magazine" (if any)Those are the current best SQF work arounds for these missing commands. (as far as I can tell)
This follows the same logic as
primaryWeaponMagazine
,handgunMagazine
,removePrimaryWeaponItem
,addSecondaryWeaponItem
etc.