NavRoute: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Darkgrey (talk | contribs)
Darkgrey (talk | contribs)
Line 89: Line 89:


=== SetFullRoute ===
=== SetFullRoute ===
'''Definition:'''
'''Definition:'''<br>
SetFullRoute(int sector_id)<br>
or maybe<br>
SetFullRoute(int sector_id, sector_id2, ...)
<br><br>
<br><br>
'''Description:'''<br>
'''Description:'''<br>
Line 95: Line 98:
<br><br>
<br><br>
'''Arguments:'''<br>
'''Arguments:'''<br>
(sector_id)<br>
''sector_id'' - sector to plot a route to
It might be <br>
(sector_id1,sector_id2,...)
<br><br>
<br><br>
'''Returns:'''
'''Returns:'''

Revision as of 13:46, 14 February 2009

GetNextHop

Definition:

Description:

Arguments:

Returns:

Example:

addbyid

Definition:
addbyid(int sector_id)

Description:
Add a destination to the navigation route.

Arguments:
sector_id - sector to plot a route to

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:
SetFullRoute(int sector_id)
or maybe
SetFullRoute(int sector_id, sector_id2, ...)

Description:
Set the navigation route.

Arguments:
sector_id - sector to plot a route to

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: