12 if( !target || (target && target.GetObject()) )
18 vector hit_pos = target.GetCursorHitPos();
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
override bool Can(PlayerBase player, ActionTarget target)
float m_MaximalActionDistanceSq
void CCTSurface(float maximal_target_distance=UAMaxDistances.DEFAULT)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()