Feature #12774

better checking of array parameters

Added by T_D over 4 years ago. Updated over 4 years ago.

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

0%

Category:-
Target version:-
Affected Version:

Description

"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.

History

Updated by sbsmac over 4 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