"ex" is a variable that comes courtesy of the OnProduced event handler. It's either the factory's rallypoint or the point where the unit enters the world, I haven't checked.  Either way, it's not used here, and Lua syntax actually allows getting rid of it, so I did.