"SoldierWPilot" createUnit [getpos here, dummygroup,"soldier1=this"]
... that will give the unit the name of 'soldier1' ingame. Good if you need to delete this unit later.
Uhm - sorry to hijack topic, but doesn anyone know what the name of the 1st unit will be when i call the upper command 2 or more times ?
It seems the game changes the names dynamicly, only the last created soldier is named 'soldier1'. What are the other names ?