orbit order issues

Post ideas & suggestions you have pertaining to the game here.
Post Reply
sdw195
Militia Captain
Militia Captain
Posts: 779
Joined: Wed Nov 18, 2009 1:01 am
Location: Still looking for the csc Antarctica
Contact:

i can't get (shpOrder auton 'orbit gsource 10) to make the auton orbit my ship.
is this a bug with the game or is it that ships can't orbit other ships.

i tried

Code: Select all

 (shpOrder auton 'orbit (sysFindObject Nil "tN +star") 100)
and 
(shpOrder auton 'orbit gSource 100)

Code: Select all

<Invoke key="A">
(block (auton)
	; Create the auton
	(setq auton
		(sysCreateShip 
			&scauton1;
			(objGetPos gSource)
			&svFriendlyAuton;
			"auton"
			)
		)

	; orbit ship
	 (shpOrder auton 'orbit gSource 100)
	

	; Identify the item
	(itmSetKnown gItem)

	; Welcome message
	(objSendMessage gSource Nil "test auton online [v1.0]")

	; Remove the item from the player's list
	(objRemoveItem gSource gItem 1)
	)
		</Invoke>
Image
Image
Image
Image
"Dash_Merc - George is a genius, in that he created this game engine that is infinitely extendable"
"<@sheepluva>Good night everybody, may the source be with you." <-- FOSG dev
"You only need THREE tools in life - WD-40 to make things go, Duct Tape to make things stop And C-4 to make things go away"
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

make sure you cancel any current orders before you send the orbit order, otherwise the orbit command gets added to the end of the order queue and may never be called.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

The other "bug" is that the auton controller doesn't honor all orders.

Your best bet might be to use the standard controller and simulate the auton behavior using the wingman code.
Post Reply