variable

  1. isaias20

    Enemies don't appear in game data.

    Sorry if it may seem like a silly question, i am new in rpg maker mv. I want to assign enemy health points from database to a variable but these enemies don't appear as such, instead they all appear with a question mark (as if there were no enemies) It's very strange because in the "enemies"...
  2. Animebryan

    Need Script Call to do Conditional check on Party's Gold in comparison to a variable

    By default, Conditional Branch options only let you check if your party's gold is either ≥, ≤ or < than a specific number, but doesn't give the option to compare it to a variable. I tried looking through the MZ Script Call list but finding & piecing together the entire script call is like...
  3. kyonides

    RMMV [RMMZ] Variable Scopes

    I wanted to ask you guys how the scope of variables work in Javascript to learn how they get affected depending on the place they are declared. In Ruby I know that a local variable can be used inside any method and need to be passed to another method as an argument. The same happens in C, C++...
  4. kyonides

    Problems with Arrays in JS

    I was trying to let the plugin read a predefined array by looking for any of its elements like this array[position]. I kept getting an UNDEFINED object instead. Curiously, whenever I left something like array[2] with no index variable involved, it was able to log the result in the console or...
  5. PENGU_PUNCHR

    How to Store Previous Attack's Damage in Variable

    Hello, I want to add an achievement that's given when 10,000 cumulative damage is outputted by actors. To do this, for every attack that is done by an actor, I need to add the damage that was done in that attack to a "totalDamage" variable. How would I receive the damage value of an attack using...
  6. kenny341jack

    RMMV Get variable value into Javascript

    Hello, there's a plugin about input name. There's a description text "Input a name" and "Press ENTER when ready" shown like this You can change through parameter from plugin manager I want to know about this In short, I want set a string on variable and from Javascript call that...
  7. remainderstudios

    RMMV show variable value on inventory

    Hello everyone. I would like if someone can please make a small plugin that shows the value of a variable in the inventory (items tab). (MV) View this picture: I want to display the value of a particular variable because that variable stores the number of slots available in the inventory...
  8. Kazuo

    How to get the Critical rate value in a variable / menu ?

    Hi, I'm searching to get the crit value, for showing it on a text box or in the menu, but i dont find the answer. I'm using Visustella battlecore & main menu. I can get the attack, def, (etc) value with a variable, but crit. chance is missing. There is any way to get this value and put it in...
  9. Edael

    RMMV Write and read switch/ variable from external file plugin?

    Howdy, so I'm having a hard time searching for something like this, if it helps I'll describe exactly what I need from this. So how it works is when the player gets to a point in the game, whether or not they have even or ever saved, I'd like to use a command that sets a switch or variable, and...
  10. blackbyrd

    Need help making a maze game like Theseus and the Minotaur.

    I simply can't find a solution to this. The monster (the Minotaur) will take two steps, but he doesn't stop. I want him to move ONLY after the player takes two steps. And in return, the Minotaur also takes two steps while APPROACHING the player. If anyone has an answer on how I should go about...
  11. Kes

    Variable in damage formula returns 'null'

    I want to set the value of a healing skill to a variable. When I simply put v[107] I got "v is undefined". I then changed it to $gameVariables[107]. This produced no error message and the text in the skill description box correctly showed "Heal 60 HP] However, when I went to use it nothing...
  12. TenraiEmiko

    Skill usage restricted to variables?

    Recently I have played a game called “Kioh Gyoku”, which has a kinda fun mechanic I wanted to replicate in my game (even though the game is a STG (shooter game)): There’s a gauge at the bottom of the screen, which fills up gradually: Once the gauge reaches certain levels, pressing a key will...
  13. HornsterLG

    RMMV Option to turn a plugin line on/off

    I am using Yanfly Options Core and I want the player to be able to turn the following canvas render option on/off (I have a plugin that can change the fullscreen render option. I can manually change the render option by replacing "pixelated" with "auto" or disabling the plugin/ removing the line...
  14. Mattsuharu

    This plugin overwrite the pop-up damage to 0

    Hello people! I was having a problem with a plugin but I finally solved it changing it location. I'm also using Yanfly Battle Core Script, now the problem is that this script work fines, except that in combination with the yanfly battle core is doing something weird. The script is supposed to...
  15. zubleiko

    Mount & Blade similar trade system

    I'm wondering how could i make an economic system based on mount & blade economics. The price of an item changes accordingly to the Base price of the item and the amount of stock available. Let's say sugar costs 100g, but there is a shortage of sugar in the city i'm trading, i could sell this...
  16. ScorchedGround

    RMMV Saving ._Data across saves?

    So I just noticed that when assigning database objects additional data, it does not get saved when saving the game. For instance, if wrote: $dataSkills[102]._power = 2; $dataSkills[102]._power would return 2. It works perfectly well. But if I were to save the game, close the game, and then...
  17. Notchella

    I've made various cutscenes for one person that were working before, but some aren't now.

    I am very new to RPG Maker, only been using a few days. I am creating a romance system a little like Harvest Moon with different events based off of a variable number. I made 9 cutscenes in total, they were all working at one point but when put together it's skipping over a few. I'm unsure what...
  18. Twisted

    Help Plz Variable password = variable items

    Hi folks :P So im looking for a little help as im abit stumped. So i am trying to make it so a player can enter a password/code and receive specific item(s). The code i have so far is this: if ($gameActors.actor(9).name() == "M") { $gameSwitches.setValue(20, true); } which works fine for...
  19. Game thinks my character is lv 0

    Made a quest with Character level as a variable and it didnt work. to troubleshoot i made an npc with the text script "your level is \v[2] (2 is the variable number) and it says zero, even after manually setting the starting lv to 3. any advice? edit: i even made an NPC that just gives me...
  20. Daphne04

    Help variable script call: QTE [Solved]

    Hello everyone. I ran into some issues while following the Eventing a QTE: Time Hits Minigame tutorial by Hiddenone. (I use VXACE, but the tutorial is for MV.) For most of the tutorial, everything worked the way it was supposed to. But at the 'Checking if the player hits the goal' part, it...

Latest Threads

Latest Posts

Latest Profile Posts

autredo.png
Autism Acceptance Month 2023!


Did this randomly in my free time, I guess today is a good day to show it.
If I were to not exaggerate, I would say that I have changed my damage formula about a million times by now. Give or take 1 or 2.
Son passed his second swimming exam *celebrations*
Super Mighty Pack is set to come out at like 6:09 EST today. It is not free, it will have a subscription service.

Forum statistics

Threads
130,010
Messages
1,207,006
Members
171,276
Latest member
faivtasy
Top