Page 1 of 1

Targeting the Player

Posted: Wed Jan 05, 2011 6:20 am
by hops
For tome, this means pressing the "." moves the targeting cursor to the player. This is quite useful when targeting after a teleportation, or talents like healing.

In /game/engines/default/engine/interface/GameTargeting.lua:

Code: Select all

               MOVE_STAY = function()
                       self.target:setSpot(self.target.source_actor.x, self.target.source_actor.y, "freemove")
                       self.tooltip_x, self.tooltip_y = self.level.map:getTileToScreen(self.target.target.x, self.target.target.y) 
               end,

Re: Targeting the Player

Posted: Thu Jan 06, 2011 11:53 am
by darkgod
good idea, done