Herman Posted October 8, 2021 Share Posted October 8, 2021 Hello, is there in the EV a possibility to find the target of a vehicle (*) ( or I overlooked it again but) ( because it was released random, and after setting another target I want to find the original target again). Or a workaround ? Kind regards, Herman ( the studio shows the name of the target track contact if the mouse is on the target symbol, you can delete it, finding that "end" track contact as new target is enough for me ) Link to comment Share on other sites More sharing options...
Herman Posted October 8, 2021 Author Share Posted October 8, 2021 Hello, I can of course note the target when it is first set in a variable of the car. The original question remains. Kind regards, Herman Link to comment Share on other sites More sharing options...
Neo Posted October 8, 2021 Share Posted October 8, 2021 Hi Herman, each vehicle has a target property, which can be accessed by Lua. The target property is currently not available by the graphical EV, because a target is either a single track contact or a list of track contacts, and this combination is not supported by the graphical EV. So if you don't want to switch to Lua, then save the target on your own in a variable. Kind regards, Neo Link to comment Share on other sites More sharing options...
Herman Posted October 8, 2021 Author Share Posted October 8, 2021 4 minutes ago, Neo said: each vehicle has a target property, which can be accessed by Lua Hello, @Neo, of course Lua is fine for me. That's what I wanted to know. Thank you Neo. Link to comment Share on other sites More sharing options...
Herman Posted October 8, 2021 Author Share Posted October 8, 2021 Hello for for those interested, für Interessierte -- keep the target in a variable -- behalte das Ziel in einer Variablenvehicle.variables["#AU target"] = vehicle.target -- test print( vehicle.target.name ) -- end test Kind regards, Herman Link to comment Share on other sites More sharing options...
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