Modify

Ticket #124 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

NPCs remain highlighted even when they move away from your cursor

Reported by: kaydeth_parpg Owned by: parpg
Priority: minor Milestone: Techdemo 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

If you place your mouse over an NPC it will outline the NPC. Now if you don't move your cursor and the NPC walks away from that location they will remain highlighted until you move your cursor again.

This can probably be fixed by moving the highlighting logic to the Engine.pump method.

Attachments

highlight.diff (4.0 KB) - added by Beliar 10 years ago.
patch for world.py
highlight.2.diff (4.1 KB) - added by Beliar 10 years ago.
patch for world.py. Added docstring to highlightFrontObject

Change History

comment:1 Changed 10 years ago by Beliar

I am currently working on this one.

Changed 10 years ago by Beliar

patch for world.py

comment:2 Changed 10 years ago by Beliar

I have attached a patch that fixes this bug.

Btw. i was already working on this for some time when i wrote the first message.

Changed 10 years ago by Beliar

patch for world.py. Added docstring to highlightFrontObject

comment:3 Changed 10 years ago by eliedebrauwer

  • Status changed from new to closed
  • Resolution set to fixed

(In [358]) Ticket #124 Patch by Beliar, fixed highlight of front object when the object moves away from under the mouse. Patch by eliedebrauwer to only display the name of the currently highlighted object. closes #124

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.