User Tools

Site Tools


modding:function:objsetshowasdestination

This is an old revision of the document!


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
</code lisp>
 
=== Example ===
 
<code lisp> (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.1486094916.txt.gz · Last modified: 2017/02/03 04:08 by 0xabcdef