Ah, I thought you were already creating that with the trigger:
weatherlogic = "classofthelogichere" createVehicle [0,0,0];
to find out the internal class name, put one of these logics in the map, name it "test" give it a single waypoint with a wait time of 2 secs and on the activation field put: hint format["type: %1", typeOf test]