-
Notifications
You must be signed in to change notification settings - Fork 735
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
Mk6 Mortar Ammunition Handling Disables AI use of Mortars #7477
Comments
Dupe of #6173 |
That issue is over a year old now, is anything going to be done to fix this? |
No clue. It's likely not a high priority. Feel free to make a PR if you've got any good ideas! |
Clearly not a high priority if it's been over a year xD |
We're another year later and AI still can't use mortars or pretty much any crew served weapon since they cannot reload them. In Zeus we have a little script that we paste into their inits to basically give them unlimited amount of ammo. That solves it but is a big chore having to do that with each static weapon we place down that doesn't have internal magazines. |
Mods (complete and add to the following information):
3.13.0
Description:
Enabling Mk6 Mortar Ammunition handling removes all ammunition from all mortars, including those manned by AI. As there is no documentation around the Mk6 Mortar Ammunition handling, this removes the ability to have enemy mortars firing with doArtilleryFire, as the mortar has no ammunition.
Steps to reproduce:
Place Mk6 mortar called 'mortar'
Use following script to fire mortar:
[] spawn {
while {true} do {
mortar setVehicleAmmo 1;
private _pos = [[[[9370.21,8489.73,0], 50]],[]] call BIS_fnc_randomPos;
private _rounds = round random 3;
mortar doArtilleryFire [_pos,"8Rnd_82mm_Mo_shells",_rounds];
sleep 10;
};
};
Mortar will not fire as mortar has no ammunition, despite being manned by AI
Expected behavior:
I expect the mortar to fire at position [9370.21,8489.73,0]
Where did the issue occur?
Log Files:
Additional context:
The text was updated successfully, but these errors were encountered: