int GetEntranceX(unit uTarget)
Scope: public
Parameters
uTarget - pointer to teleport, tunnel entrance or units transporter.
Return values
Location (x-coordinate) of point where unit should move to enter into uTarget.
Description
This function is used to obtain point in building or under units transporter where unit
should move after use of CallMoveInsideObject fuction.
See also
CallMoveInsideObject, GetEntranceY, GetEntranceZ