47 - No matching signature for clearweaponcargo/clearmagazinecargo
//-- ERRORWINDOW No matching signature for '<Unused> clearweaponcargo <Unused>' No matching signature for '<Unused> clearmagazinecargo <Unused>'
//-- CURRENTERROR clearWeaponCargo _vehicle No matching signature for '<Unused> clearweaponcargo <Unused>' Unary Operator clearweaponcargo RHS VARNAME _vehicle
ColumnHeader: Text: Error
1 //-- CODEWINDOW 2 // clear vehicle cargo at mission start 3 clearWeaponCargo _vehicle; 4 clearMagazineCargo _vehicle;
Updated by kju about 6 years ago
The reason is probably that _vehicle is not defined/assigned in this file.
The file this code is in is included into others.
So may not be an error.
Updated by sbsmac about 6 years ago
- Status changed from New to Feedback
You are correct that the reason is that _vehicle is not defined. In the latest build which I will push out soon, unused variables are treated as 'Any' type and you won't see these spurious warnings.