5 void CCTTree (
float maximal_target_distance )
15 Object targetObject = target.GetObject();
16 if ( !player || !targetObject || targetObject.IsDamageDestroyed() )
class ActionTargets ActionTarget
override bool Can(PlayerBase player, ActionTarget target)
float m_MaximalActionDistanceSq
void CCTTree(float maximal_target_distance)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
proto native CGame GetGame()