modding:function:objcanattack
Discuss this page on this pages TalkPage
objCanAttack
Syntax | (objCanAttack obj) → True/Nil |
---|---|
Arguments | obj: The spaceObject you want to test |
Returns | True if the spaceObject is capable of attacking, Nil otherwise. |
Category | 0.99, condition query, spaceobject |
Description | Some spaceObjects are not able to attack, mainly if they don't have any armament. This function is used to check that. |
Example
Return to Functions list
modding/function/objcanattack.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1