When using get3DENAttribute on a waypoint to return the values of the "speedMode" and "formation" properties, the returned values are number, when it should be a string. The "behaviour" and "combatMode" properties are returned as a string.
According to the wiki, all of these properties should return as a string, which makes sense as setWaypointSpeed and setWaypointFormation require a string, not a number.
Edit: Further investigation shows the values are actually Scalars, not numbers. Doesn't really matter.