En:isObjectNearObject

Материал из Pocket Fallout для КПК на PDA PC PPC Mobile.

Содержание

Account

Method of class MathModel

Syntax

isObjectNearObject(object_name : String, 
                   object_target_name : String 
                   [,view_radius : Number]) : Boolean

Description

Check: current object is near other object?

Parameters

  • object_name - string. Object name;
  • object_target_name - string. Object target name;
  • [view_radius - number. View radius (optional parameter)];

Result

The method returns TRUE if current object is near other object, FALSE - otherwise. Data type - Boolean

Личные инструменты