Targeting the Player

Moderator: Moderator

Post Reply
Message
Author
hops
Halfling
Posts: 111
Joined: Tue Sep 21, 2010 9:05 am

Targeting the Player

#1 Post 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,

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Targeting the Player

#2 Post by darkgod »

good idea, done
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply