KnightHawk75
Posts: 1450
Joined: 11/15/2018 Status: offline
|
Why not ask in that thread? Not sure what you mean though, as the thread mentions you generally speaking wouldn't use that info unless you're doing something particularly specific or somewhat advanced where you're evaluating course table properties and filtering entries based on TypeOf looking for something specific to then change or trigger some other action. Like say looking for a marshal point's for all aircraft on a particular mission and changing the auto generated lat|lons to your liking on just the marshal point entries; or moving TerminalPoints of munitions or something, or as mentioned trying to override the pathfinder. If I knew what you had it mind I might be able to tell how that information might be useful to you. If you are just asking how to change a course of waypoint's that's really a different question then that thread is aimed at. basic course change example: local MyNewCourseTable = {
[1] = { description="SomeOptionalName #1", longitude = 0.0, latitude = 0.0 },
[2] = { description="SomeOptionalName #2", longitude = 1.0, latitude = -1.0 },
[3] = { description="SomeOptionalName #3", longitude = 2.0, latitude = -2.0}
} -- create a new course table to replace old one.
ScenEdit_SetUnit({guid="Myunitsguid",Course=MyNewCourseTable}); --replace the units current table with our own.
|