Update docs/wiki/framework/crew-served-weapons-framework.md

This commit is contained in:
Grim 2023-07-03 04:26:03 +03:00 committed by GitHub
parent b4a0771730
commit 9fe3f8432f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ class CfgVehicles {
ACE's ammo handling (including AI reloading, and initial unloading and conversion of the weapon's magazines) can be blocked by setting the `ace_csw_disabled` variable on init. ACE's ammo handling (including AI reloading, and initial unloading and conversion of the weapon's magazines) can be blocked by setting the `ace_csw_disabled` variable on init.
This will also block reloading and unloading the weapon manually through ACE. This will also block reloading and unloading the weapon manually through ACE.
This variable needs to be set where the weapon is local. This variable needs to be set globally.
```sqf ```sqf
myCustomStaticWeapon = createVehicle ["B_Mortar_01_F", [0, 0, 0]]; myCustomStaticWeapon = createVehicle ["B_Mortar_01_F", [0, 0, 0]];