Hi
Is there some way to read the traffic object start position " t " in mini maneuver commands ?
Hello,
You cannot use ScriptControl directly in the mini maneuver . I would recommend loading a script at startup, using IFileRead to read the correct starting position value, and storing it as a named variable.
I have written an example script with only one line:
NamedValue set trafficPos [lindex [IFileRead TestRun Traffic.0.StartPos] 1]
This creates a named value trafficPos that you can read later. This focuses on traffic object 0, if you want another specific one, you have to adapt the script or make it more complicated to make it adaptive.
Then you can use $trafficPos in the maneuver commands: