Thanks Grimes, as always!
Sometimes the units are spawned on a steep area when teleportInZone is activated because I can't check every single point if it's how much flat. So I'm thinking It would be good to combine terrainHeightDiff and teleportInZone(loop checking until the area is flat, if it's flat then teleport the group), but how? The problem is that I have no idea what does the usage example codes in hoggit doc mean...:cry: I'm not a programmer. Could you tell me simple working example?