Thanks Droidz, it worked :), here is how I did it (it will try multiple times to destroy the portals since its destroyed before i cast :)
var path = new List<Vector3>() {
new Vector3(721.8674, 5322.935, 57.19053, "None"),
new Vector3(613.8378, 5530.022, 54.96337, "None"),
new Vector3(587.8415, 5304.021, 45.30553, "None"),
new Vector3(496.2509, 5307.273, 60.94893, "None"),
};
for (int i = 0; i < path.Count; i++)
{
if (GoToTask.ToPosition(path))
{
Logging.Write("reach point #" + i);
Lua.LuaDoString("ExtraActionButton1:Click()");
ClickOnTerrain.Pulse(new Vector3(path));
Thread.Sleep(5000);
}
}
return true;