My feature request is to introduce new scripting command that will return current attached state of specified vehicle. Suggested syntax
attachedTo <vehicle>
Command should return following data:
[TObject, Offset, MemPoint, Dir, VectorDir, VectorUp]
TObject, Offset, MemPoint are values that you provide with attachTo command
Additionally I suggest to return direction, vector dir and vector up values relative to which supplied object is attached to. Currently vectorUp, vectorDir and getDir commands return values relative to the world while when you use setVectorUp, setVectorDir and setDir commands they rotate object relative to object, not the world.
If object is not attached to anything, then it should return empty array