Feature #12774

better checking of array parameters

Added by T_D almost 7 years ago. Updated almost 7 years ago.

Status:New Start date:08/07/2010
Priority:Normal Due date:
Assignee:- % Done:


Target version:-
Affected Version:


"Soldier" createUnit []

This will not be reported as an error because [] is a valid array. But createUnit expects [type, position, markers, placement, special] for example. I dont called this a bug but a feature because I know that it "just" needs a more detailed dictionary which is hard to create. But I wanted to mention the oppertunity.


Updated by sbsmac almost 7 years ago

Agreed - checking of array contents would be very desirable. Probably the dictionary can be grown by learning from example code (eg, BIS missions).

Also available in: Atom PDF