Herman Posted March 29, 2022 Posted March 29, 2022 (edited) Hello, only a small wish, but maybe difficult to implement, I dont know. Is it possible to give the error in the analyser for set vehicle target, if there is no route found to that target. When we do it manually we get :"No valid route found", as it should. The analyser let it go. Thanks for reading, kind regards, Herman Edited March 29, 2022 by Herman
Goetz Posted March 29, 2022 Posted March 29, 2022 vor 22 Minuten schrieb Herman: Is it possible to give the error in the analyser for set vehicle target With Lua, you may check, if a vehicle has a valid target vehicle.target = $("Destination Contact") if vehicle.target then $("Label").text = vehicle.target.name else $("Label").text = "fail" end if the attempt to set a target failed, the "target" property is empty and as such "false". kind regards Goetz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now