Page MenuHomeFeedback Tracker

Scripting : ammo, magazinesAmmo, someAmmo, etc. don't work with MQ4A Greyhawk
New, WishlistPublic

Description

All the functions related to ammos don't work with the UAV MQ4A Greyhawk.

Details

Legacy ID
648427741
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Create a mission, put a MQ4A Greyhawk and put the following in its initialization field:
hint format["%1/%2\n%3/%4\n%5/%6", magazinesAmmo uav select 0 select 0, magazinesAmmo uav select 0 select 1, magazinesAmmo uav select 1 select 0, magazinesAmmo uav select 1 select 1, magazinesAmmo uav select 2 select 0, magazinesAmmo uav select 2 select 1]

You will get the following:
Laserbatteries/1
any/any
any/any

You can try with all the other functions.

NOTE : it should have 3 weapons, the missiles SCALPEL and the flares

Event Timeline

Turambar edited Steps To Reproduce. (Show Details)Aug 29 2013, 3:44 PM
Turambar edited Additional Information. (Show Details)
Turambar set Category to Scripting.
Turambar set Reproducibility to Always.
Turambar set Severity to None.
Turambar set Resolution to Open.
Turambar set Legacy ID to 648427741.May 7 2016, 4:21 PM

try

uav addweapon "missiles_SCALPEL"

That doesn't work. I think the problem is the SCALPEL and the flares are not recognized as weapons.

Really? It works for me. Did you do it like this?

uav addMagazine "2Rnd_LG_scalpel";
uav addweapon "missiles_SCALPEL";

It works, but we can't use the 2 rounds magazine, only the 6 rounds magazine... which isn't displayed by the magazinesAmmo function.

Up. This bug is quite annoying.