En:GetWalkAreaValue

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

Содержание

Syntax

GetWalkAreaValue(x_value : Number, 
                 y_value : Number) : Number

Description

Get walk area value of relative tiles (hexagon) on the current coordinates. It is used only at the moment of event OnGetUnitPath call from module wmap_events.pfs;

Parameters

  • x_value - number. X - value of relative tile (hexagon);
  • y_value - number. Y - value of relative tile (hexagon);

Result

The function returns:
"1" - specified relative tile (hexagon) it is free;
"0" - specified relative tile (hexagon) it is busy;
"-1" - error.
Data type - Number;

See also

General procedures and functions

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