En:OnGetUnitPath

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

Содержание

Syntax

procedure OnGetUnitPath(unit_name : String, 
                        ex : Number, 
                        ey : Number)

Description

alled before calculate unit walking path with name <unit_name> to relative tile (hexagon) with coordinate (ex, ey).

Parameters

  • unit_name - string. Unit name;
  • ex - number. Value of ending X-coordinate;
  • ey - number. Value of ending Y-coordinate;

Result

The pocedure returns nothing;

Warning !!!

If event is exists in module wmap_events.pfs then system running only user-defined walk path algorithm

See also

Predefined procedures and functions (events)

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