Script Calls and how they work within an event to display info?

Sorry I tried googling this maybe I'm looking up the wrong term. But a lot of Plugins do script calls. I assume a lot of script calls can be used in other scripts of course. But some of the script calls offer like information to call like a total of something.


Is there a way to say script call something via message to show that information to a player?


Thanks 🙂
I'm not sure I understand what you mean. Do you mean something like having a value (like money or HP) always update somewhere on the screen?
Could you give us an example?
Sure:








PHPlugins.PHWarehouse.getCurrentCapacity("Title of the Warehouse")Gets the current capacity of a warehouse


I see things like this in a lot of Plugins. I'm wondering if we could actually use these calls outside of a script but in an actual message.


For example:


7ylLhj2.png
Instead of that, set a variable to the $PHPlugins warehouse thing, then use \V[variable number] to show that in the text.


18862eda0f384f068a9097a9af482e58.png
Instead of that, set a variable to the $PHPlugins warehouse thing, then use \V[variable number] to show that in the text.

Thank you kindly miss that is exactly what it was 🙂


This will give me so many new options overtime 🙂
Oh! Try making a variable equal to the value of the script call and then check the value of that variable in a text box using \V[n].

Original thread: https://forums.rpgmakerweb.com/threads/script-calls-and-how-they-work-within-an-event-to-display-info.62679/