Welcome, Guest Thursday 24th April 2014, 14:54:23
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: locationPosition v. position and attached objects  (Read 190 times)
0 Members and 1 Guest are viewing this topic.
Trexian
*
Offline Offline



« on: 16 Sep 2009, 16: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?
Logged

Sic semper tyrannosauro.
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: