NavRoute: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Darkgrey (talk | contribs)
Darkgrey (talk | contribs)
Line 90: Line 90:
'''Definition:'''
'''Definition:'''
<br><br>
<br><br>
'''Description:'''
'''Description:'''<br>
Set the navigation route.
<br><br>
<br><br>
'''Arguments:'''
'''Arguments:'''<br>
(sector_id)<br>
It might be <br>
(sector_id1,sector_id2,...)
<br><br>
<br><br>
'''Returns:'''
'''Returns:'''
<br><br>
<br><br>
'''Example:'''
'''Example:'''<br>
local sector_id = SectorIDFromLocationStr('Bractus C-5')<br>
NavRoute.SetFullRoute{sector_id}<br>
<br><br>
<br><br>



Revision as of 13:40, 14 February 2009

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: