• Hey! Register here to create your account, engage with the community, and talk about what is new!

Teleport to functions/processes using a command

Jimmy_The_Knight

Well-known member
Joined
Dec 28, 2020
Messages
67
Reaction score
30
Here's an example of how this could work:

/tpf [function name] / /tpp [process name] teleports you to the function/process containing the given text (not case sensitive). If there are multiple functions/processes that have similar text in their names, then it opens an inventory menu containing the functions/processes that match the given criteria. These commands would only be functional in dev mode, obviously.

Code navigation can be tedious when your plot has 200+ lines of code, and this feature would make finding specific parts of the code a lot faster and generally a more intuitive process.

Another idea: /tpe [event name] would also be quite useful, as sometimes it is really hard to find event blocks, especially in a very unorganized code space.
 
Last edited:

pixlii

Forum adept
Overlord
Joined
May 20, 2021
Messages
215
Reaction score
34
i've suggested something similar in the past and i think this is a really good way to do it
you have my upvote
 
Top Bottom