modding:function:objcandetecttarget
objCanDetectTarget
Syntax | (objCanDetectTarget obj target) |
---|---|
Arguments | obj: The space object to detect a target |
target: The target to check that the space object can detect | |
Returns | True if succesful, Nil otherwise |
Category | spaceObject functions |
Description | Checks if a space object can detect a target. |
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/objcandetecttarget.txt · Last modified: 2017/02/03 04:05 by 0xabcdef