How to make a new \ command?

● ARCHIVED · READ-ONLY
Started by FrozdY 15 posts View original ↗
  1. Hey, I was wondering how I can make a new window pop up like " \$ " but I'd like that exact thing or have a new backslash window to track a certain variable.

    For example, I have a variable that tracks my " Energy " but I want a window that tracks that all the time or have it called by a " \ " command in the " Show text " event, could anyone help me?
  2. Pretty sure Vlue done a script called 'variable hud' (something like that) that does what you are asking :)
    dont havea  link I am afraid - but google is your friend :)
  3. the backslashes themselves are actually escape code sequences, for what you want though, I'd suggest a direct script call instead of using the escape code method since that will actually be easier... 

    Either way you choose, you'd need to handle the energy part on it's own anyways and you'd still make a window for that too... Choosing between the direct call and the escape code will just be a matter of how you'd show the window itself...
  4. Thing is, I have NO idea how to code anything, well, really basic HTML and really basic Expression 2 in garry's mod, but that's about it :(
  5. If I could call the script through a paralell process on every map then that would work fine aswell so that it always shows
  6. FrozdY, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


    I suggest you go to the master script list and look for an advanced messaging script - either Yanfly's or Modern Algebra's advanced text system.


    Both add a lot of text codes to the default system, and there is a good chance that one of them provides what you need - because scripting in RM is more like programming than simple HTML-coding, and adding text codes isn't trivial even for good scripters.
  7. I'm sorry for the double posting, I didn't see the edit button at first, but yeah, if someone could provide the code for me, that would be great.
  8. Oh wait, if it's a variable from the variable list (the list where you choose variables when using them on events) and it's fine if the value shows inside the text box, you can always just use \V[index]
  9. I know Engr but i actually want a separate window for it because i want it to visable at all times with a paralell process, having a chat window at the bottom telling you all the time is just gonna get annoying.
  10. FrozdY said:
    I know Engr but i actually want a separate window for it because i want it to visable at all times with a paralell process
    That is called a gap window or an event window, and there are already scripts for it on the master script list as well.
    If you don't know where the master script list is, then follow the link in my signature - the master script is one of the many links in there.


    And you should be careful with using parallel processes, in most cases there are not needed.
  11. then you won't be using the \ commands... I just thought you want it only to show during texts since you told us about if we can do that using a new \ command...
  12. Yeah, i changed my mind because I didn't think straight at first, sry Engr
  13. Unless you know how to script your own window, I do guess you just need to find the script that Dekita mentioned
  14. Okay, I tried what Dekita said and you recommended aswell Engr, thanks, I found http://www.rpgmakervxace.net/topic/2302-xs-variable-hud/ which works awsomely, BUT there's no background on it so it's hard to see the numbers, how would I make a background for it?

    Edit:

    Nevermind, i just made a picture that's always visible.
  15. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.