Editor's Assistant Script

Discussion in 'General Modification' started by Agetian, Jul 23, 2005.

Remove all ads!
  1. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    I wrote a simple, yet effective script that allows you to simplify the task of finding out game coordinates on the map and teleporting to different locations.

    It will be distributed with ToEE World Builder v1.0 when it's released, but since there is a slight delay in the release of that product I wanted this script to be available earlier on.

    Basically, copy it to the "data/scr" folder of the game. In the console, you can type:

    from ed import *

    This will plug the script in.
    Then, instead of the long "location_to_axis(game.party[0].location)" to find the coordinate of the leftmost party member you can type just:

    loc()

    And instead of the huge "game.fade_and_teleport(0,0,0,map,X,Y)" to teleport to a certain location you can type just:

    tport(map,X,Y)

    Enjoy!
    - Agetian
     

    Attached Files:

    Last edited: Jul 23, 2005
  2. Drifter

    Drifter Established Member

    Joined:
    Dec 24, 2004
    Messages:
    118
    Likes Received:
    1
    Good, a time saver is always good. :thumbsup:
     
  3. Shiningted

    Shiningted I changed this damn title, finally! Administrator

    Joined:
    Oct 23, 2004
    Messages:
    12,746
    Likes Received:
    375
    useful! :clap:
     
  4. Morpheus

    Morpheus Mindflayer Veteran

    Joined:
    Nov 11, 2003
    Messages:
    539
    Likes Received:
    1
    Bravo! :joy:
     
  5. Cujo

    Cujo Mad Hatter Veteran

    Joined:
    Apr 4, 2005
    Messages:
    3,636
    Likes Received:
    1
    Spam! :lalala:
     
  6. Agetian

    Agetian Attorney General Administrator

    Joined:
    Aug 14, 2004
    Messages:
    2,526
    Likes Received:
    0
    An important note: This version of the assistant script is outdated and may be removed soon. A much better version is distributed in the ToEE World Builder package.

    - Agetian
     
Our Host!