Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Recommended Posts

I recently stumbled across a function on a forum that seemed difficult to find online (or at least not so readily available) and thought it would be helpful to share this useful code with all of you.

The original code had a few issues, but I’ve rewritten some parts in Python, and it now works flawlessly.

How It Works

It’s quite straightforward. Once you open the large map, just click anywhere, and you will be teleported to that location (provided you are a Game Master). Below, I've included a GIF to give you a quick visual on how it functions.

Implementation Steps

  1. Locate in uiminimap.py:
    Find the following line:

     
  • This is the hidden content, please

     

  • Add the following to the bottom:

     
  • This is the hidden content, please

     

  • Next, find in uiminimap.py:
    Look for the method:

     
  • This is the hidden content, please

     

  • Below it, insert this function:

     
  • This is the hidden content, please

     

  • Find in PythonMinimap.cpp:
    Locate this function:

     
  • This is the hidden content, please

     

  • Add the following below:

     
  1. This is the hidden content, please

     

Conclusion

With these modifications made, you'll be able to teleport by clicking on the map—an exciting feature for Game Masters! If you have any questions or need further clarification, don’t hesitate to reach out!

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...