Moving waypoint to the position of the unit (write somewhere, init field should be good)
[group this, 1] setWPos getpos this
Simple as that. Will put the first waypoint (AFAIK waypoint 0 is the one automatically created underneath each unit at startup, and hence invisible) on top of the unit, regardless of where he's spawned.
And if you don't want to use the disableAI command, you can simply put [/i]this Stop true
in the unit's init field and it won't move until it's allowed to again (unitName Stop false).
Wolfrug out.