Table of Contents



CanMoveHero(heroName, x, y, floorID = -1);

heroName – the hero’s name x, y – the target tile’s coordinates floorID – the floor number (-1 by default, which means the floor in which the hero is located)


This function returns true if the specified point can be reached by the hero. Otherwise it returns false. If the floor is not specified, the one in which the hero is currently located is used. This function can only be invoked for heroes controlled by the AI players.

scripting/advmap/canmovehero.txt · Last modified: 2007/06/25 23:55 (external edit)
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0