Ignore:
Timestamp:
10/09/09 20:03:08 (10 years ago)
Author:
eliedebrauwer
Message:

Ticket #66: Patch by saritor (& eliedebrauwer), implements saritors rework of teleporting, at this point it implements the within-a-map teleport successfully, but cross map teleport still has in issue which probably has to do with the setup of the PC. comment[s:trac, t:66]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/local_loaders/xmlmap.py

    r265 r310  
    300300                inst_dict["name"] = instance.get('name') 
    301301                inst_dict["text"] = instance.get('text') 
     302                inst_dict["target_map_name"] = instance.get('target_map_name') 
     303                inst_dict["target_map"] = instance.get('target_map') 
     304                inst_dict["target_pos"] = (instance.get('target_x'), instance.get('target_y')) 
    302305                self.data.createObject( layer, inst_dict, inst ) 
    303306                 
Note: See TracChangeset for help on using the changeset viewer.