sysCreateShip and directions
- AssumedPseudonym
- 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?

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!)
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
PGP: 0x940707ED, 5DB8 4CB4 1EF5 E987 18A0 CD99 3554 3C13 9407 07ED
Bitcoin: 1LLDr7pnZDjXVT5mMDrkqRKkAPByPCQiXQ
- AssumedPseudonym
- 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. ^.^

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!)
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
Xelerus is definitely less updated than the function list thread I make for each version.a function that isn’t listed on Xelerus.
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