modding:function:objsetshowasdestination
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 Space Object functions list
Return to functions list
modding/function/objsetshowasdestination.txt · Last modified: 2017/02/03 04:09 by 0xabcdef