Jump to content

Recommended Posts

Posted

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 )

Posted

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

Posted

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

Posted
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.

Posted

Hello for for those interested,  für Interessierte 

-- keep the target in a variable 
-- behalte das Ziel in einer Variablen
vehicle.variables["#AU target"] = vehicle.target
-- test
print( vehicle.target.name )
-- end test

Kind regards, Herman

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...