Ignore:
Timestamp:
07/28/10 19:22:42 (9 years ago)
Author:
beliar
Message:

Ticket #243: Patch by Domtron_Vox.

  • When examining an object the text is now displayed over the object as well as in the message window.

fixes[s:trac, t:243]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gamesceneview.py

    r600 r603  
    4141        self.faded_objects = set() 
    4242 
    43     def displayObjectText(self, obj_id, text): 
     43    def displayObjectText(self, obj_id, text, time=1000): 
    4444        """Display on screen the text of the object over the object. 
    4545           @type obj_id: id of fife.instance 
     
    5959                raise 
    6060        if obj: 
    61             obj.say(str(text), 1000) 
     61            obj.say(str(text), time) 
    6262 
    6363    def onWalk(self, click): 
Note: See TracChangeset for help on using the changeset viewer.