units need an array....
type createUnit unitInfo
Operand types:
type: String
unitInfo: Array
Compatibility:
Version 1.34 required.
Type of returned value:
Nothing
Description:
Create unit of given type . Format of unitInfo is: [pos (Position),group (Group), init (String), skill (Number), rank (String)] Note: init, skill, and rank are optional, default values are "", 0.5, "PRIVATE".
Example:
"SoldierWB" createUnit [getMarkerPos "barracks", groupAlpha]
and a marker works best i think...in the above example, ull see that only pos and group are defined....and the groupname must already exist!