sysCreateShip and directions

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 After a bit of poking around, I’m not seeing a way to do this, so it’s time to toss it up here on the forum: Is there a way to create a ship so that it’s facing a specific direction upon creation or, alternately, immediately change which direction it’s facing upon creation?
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
TVR
Militia Commander
Militia Commander
Posts: 334
Joined: Sat Sep 08, 2012 3:26 am

Code: Select all

(block (ship)
  (setq ship (sysCreateShip unid pos sovereignID [controller]))
  (objSetProperty ship 'rotation angle)
)
Fiction is reality, simplified for mass consumption.
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
User avatar
AssumedPseudonym
Fleet Officer
Fleet Officer
Posts: 1215
Joined: Thu Aug 29, 2013 5:18 am
Location: On the other side of the screen.

 Ah-ha, a function that isn’t listed on Xelerus. That would explain why I didn’t find anything when I went looking. That was exactly what I was looking for, though, thank you. ^.^
Image

Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)

My mods on Xelerus: Click here!

Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

a function that isn’t listed on Xelerus.
Xelerus is definitely less updated than the function list thread I make for each version.
The wiki, while it contains many other useful references, is even less updated when coming to functions.
http://forums.kronosaur.com/viewtopic.php?f=8&t=6453
Post Reply