If the AddWaypoint command is used in any activation or initialisation field and is not assigned to a variable. A script error is returned:
eg
group transport addwaypoint [position player, 0, 1];
"Type array, expected nothing"
and the following is written to the rpt:
control[Rectangular]: Unexpected control type [6]
control[Rectangular]: Unexpected control type [6]
control[Repeating]: Unexpected control type [6]
control[Repeating]: Unexpected control type [6]
control[Presence]: Unexpected control type [6]
control[Presence]: Unexpected control type [6]
control[Interruptable]: Unexpected control type [6]
control[Interruptable]: Unexpected control type [6]
control[CA_ValueActivation]: Unexpected control type [4]
control[CA_ValueActivation]: Unexpected control type [4]
control[CA_ValueType]: Unexpected control type [4]
control[CA_ValueType]: Unexpected control type [4]
Both of these are either misleading or cryptic.
The command as above typed into the execution field of the debug console works without error.
{F19775} {F19776}