Advertisement

Author Topic: locationPosition v. position and attached objects  (Read 197 times)

0 Members and 1 Guest are viewing this topic.

Offline Trexian

  • Members
  • *
locationPosition v. position and attached objects
« on: 16 Sep 2009, 17:46:26 »
The wiki has 2 different ways to determine the position array of a cfg-described location.

position (used to determine the position of a location):
http://community.bistudio.com/wiki/position_location
Quote
Returns a location's position. If it is attached to an object, the location's set or created position is returned rather than object's position.

locationPosition (used to determine the position of a location):
http://community.bistudio.com/wiki/locationPosition
Quote
Returns the position of a location. If the location is attached to an object, that object's position is returned.

Ok, I see that there's a difference in what is returned, based on whether an object is attached.  Makes much sense.

But begs the question(s) - how and why would you "attach" an object to a location?
Sic semper tyrannosauro.