Page MenuHomeFeedback Tracker

[Feature Request] attachedTo command to return attached status of vehicle
New, WishlistPublic

Description

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

Details

Legacy ID
1935146770
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request

Event Timeline

SaMatra edited Steps To Reproduce. (Show Details)Jun 21 2013, 7:28 AM
SaMatra edited Additional Information. (Show Details)
SaMatra set Category to Feature Request.
SaMatra set Reproducibility to N/A.
SaMatra set Severity to None.
SaMatra set Resolution to Open.
SaMatra set Legacy ID to 1935146770.May 7 2016, 2:41 PM

This is a good suggestion. I have a similar request for an an enhanced attachTo command #0008488 that would compliment this.