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
[править]