Discuss this page on this pages [[objGetNearestStargate Talk Page|TalkPage]] === objGetNearestStargate === See [[http://xelerus.de/index.php?s=functions&function=100|objGetNearestStargate at Xelerus]] ^ Syntax | (objGetNearestStargate spaceObject) | ^ Arguments | spaceObject: The space object that you want to get the nearest star gate from. | ^ Returns | spaceObject: The nearest star gate. | ^ Category | [[spaceobject]] | ^ Description | Returns the nearest star gate to the space object. | === Example === (objGetNearestStargate gplayerShip) Returns the nearest star gate to the player ship. Return to [[:Functions]] list