NavRoute

From Vendetta Lua
Jump to navigationJump to search

GetNextHop

Definition:

Description:

Arguments:

Returns:

Example:

addbyid

Definition:

Description:
Add a destination to the navigation route.

Arguments:
(sector_id)

Returns:

Example:
local sector_id = SectorIDFromLocationStr('Bractus C-5')
NavRoute.addbyid{sector_id}


SetFinalDestination

Definition:

Description:

Arguments:

Returns:

Example:

save

Definition:

Description:

Arguments:

Returns:

Example:

OnEvent

Definition:

Description:

Arguments:

Returns:

Example:

clear

Definition:

Description:

Arguments:

Returns:

Example:

list

Definition:

Description:

Arguments:

Returns:

Example:

SetFullRoute

Definition:

Description:
Set the navigation route.

Arguments:
(sector_id)
It might be
(sector_id1,sector_id2,...)

Returns:

Example:
local sector_id = SectorIDFromLocationStr('Bractus C-5')
NavRoute.SetFullRoute{sector_id}


GetCurrentRoute

Definition:

Description:

Arguments:

Returns:

Example:

undo

Definition:

Description:

Arguments:

Returns:

Example:

GetFinalDestination

Definition:

Description:

Arguments:

Returns:

Example:

load

Definition:

Description:

Arguments:

Returns:

Example:

add

Definition:

Description:

Arguments:

Returns:

Example: