Discuss this page on this pages TalkPage

shpOrder

See shpOrder at Xelerus

Syntax (shpOrder ship string [expression])
Arguments ship: The ship that you want to order.
string: A string representing the order.
expression: The optional arguments if needed by the order. Multiple arguments possible
Returns condition: True if successful, Nil otherwise.
Category orders, ship
Description Gives the ship the order.

Example

	(shpOrder
		(random (sysFindObject Nil "s A"))
		'gate
		(random (sysFindObject Nil "G A"))
		)

Orders a random ship in the system to exit through a random gate as soon as all its orders are done.

Return to Functions list