12 if( !target || (target && target.GetObject()) )
18 vector hit_pos = target.GetCursorHitPos();
class ActionTargets ActionTarget
void CCTSurface(float maximal_target_distance=UAMaxDistances.DEFAULT)
protected float m_MaximalActionDistanceSq
override bool Can(PlayerBase player, ActionTarget target)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()