[[objSetShowAsDestination Talk Page|Discuss this page]] === objSetShowAsDestination === ^ Syntax | (objSetShowAsDestination obj [options]) -> True/Nil | ^ Arguments | obj: The space object to mark | ^ | [options]: An optional parameter that specifies how the object should be marked | ^ Returns | True if succesful, Nil otherwise| ^ Category | [[spaceObject functions]]| ^ Description | Makes the object show up as a colored circle on the system map. | **[options]** accepts one of the following: 'autoClear Clear when in SRS range 'autoClearOnDestroy Clear when destroyed 'autoClearOnDock Clear when player docks 'showDistance Show distance 'showHighlight Show target highlight === Example === (objCanDetectTarget gSource gPlayerShip) Returns "True" if the object can detect the playership. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list