User Tools

Site Tools


modding:function:objcanattack

Discuss this page on this pages TalkPage

objCanAttack

See objCanAttack at Xelerus

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