1. undefined method for 'name' for [1]:Array

    Hey im a real noob at the min but im trying to make the currency used in the game to be set to the name of a character/actor so the user can call it what they want. I have this: $data_system.currency_unit = $game_actors [1].name But it gives me this error: Script 'Game_Interpreter' line...
  2. vectorinox

    How to set arraylist and add/remove element from it?

    Last time, I had the following script to give the party a random item from an item pool when opening a chest. Then, I tried to make the item that the party receive to be removed from the pool and replaced with something else. So I add the following line. Apparently, array is static and...
  3. vectorinox

    How to set up an array and pick a random element from it?

    Sorry, I'm still new to java, and I don't really know how to apply the code from stack overflow to rmmv. Basically I'm setting up an event (chest) that gives random item from a pool (array with their IDs). So I come up with something like this: pool = {12,23,44,56,77}; loot=...
  4. Jonforum

    indexOf syntax for multidimensional arrays?

    hi i know i can do the function with (for) and (loop), but logically, am supposed to be able to get the indexOf ? Why my function to search index in a 2D array alway return me False (-1) ??? If you add this to console.log //------------------------------------------ gate1=[]...
  5. Jonforum

    Little question about Object property with array

    Hi I am building my quest system. I use for Quests the Rmmv Armors Items, $dataArmors[], because I do not use this DB in my project. At the beginning of the game, I inject all in $dataArmors [?].meta my individually properties for Quest. I write them in a .js file, because the comment...
  6. Skotty TV

    Help! Get map data array

    Hi There! I just want to know if anyone (good scripter) can help me out. I want to create a new array with all map info stored in -> - var array = []; - array[1] = Map001.json something like this... The thing is, in $datamap is always just the last map stored. And $dataMapInfos...
  7. [ACE] Creating and returning skill notetag array data?

    So, I have managed to use text from skill notetags as data before (see below), using examples from scriptors. But this data has always been based on numerical digits and not arrays, and I'm not really experienced with or can comprehend enough of Regexp processes to figure this out myself...
  8. Silverskin

    Get the array length of states in a condition?

    Hey, for a skill that cures all negative states, I want to write a pice of my own code inside Yanflys action sequence. It looks like this: the ".meta.good" is already coded elsewhere and works perfectly fine. It flags states as good and not affected by luk's chance of not getting it...
  9. Jonforum

    How Exlude, remove variable in array ?

    Hi guys I have a complex problem in a formula. I formulate to minimum to be clear. I wish I could remove the first variable found in the second process. These possible? // variable initialisation A = 3 B = 5 T = 1 X = 4 // Now found the most big valur ItemQ = new Array(A,B,T,X);  ItemL =...
  10. Ariaka

    Starting small, best way to define a species

    I decided to learn Javascript to make a plug-in for a breeding game. Jeremy Cannady did a wonderful job making a basic breeding plugin when I made a request, but it simply did not do what I was looking for...
  11. ICF-Soft

    Array into an array into an object

    I am trying to enable an array filled with arrays throught the notebox, but I'm stuck trying to make it work and I don't know where is the problem. It starts aliasing DataManager.isDatabaseLoaded and add notetags on enemies: DataManager.processEnemyNotetags = function(group) { var note1 =...
  12. SumRndmDde

    How to get array of Actor's Armors?

    So here's what I'm trying to do.   I want to create some Notetags in the Armor Database that say <applesGained: x> <applesLost: x>   Then, I want to add them all up based on which ones the specific Actor is wearing, so I created this function:   var processDemArmors = function(actor){ ...
  13. Problems with Arrays

    I'm having a really hard time dealing with arrays in RMMV. If I create an event and use a script inside like this: var ar = [];ar[0] = "example";Then I can use the array value during only this event. The array will not persist through the gameplay or other events. If I try to use the value...
  14. nio kasgami

    how to input a array in a hash?

    Hi people I was working on my script and for convenience sake I wanted to be able to input method in array but I use for configurations Hash if I show  hashconfig ={ :array_method =[1,1]}I want to being able to extract the content for use it...and no I don't want to spare that into a different...
  15. Conditioning an array of variables? ($game_variables[1] equal to 1 or 3 or 7 etc)

    I want to make a condition that's quick, something like maps = [1, 2, 4, 7, 9, 10, 15, 16, 17];$game_variables[1] == $game_variables[1].any? {|i| maps.include?(i)}$game_variables[1] being the current map id, to condition if the current map is any of those numbers is the array. But I'm not...
  16. Quickly condtion an array? (e.g. $game_variables[1] != [0,1,4,6,7])

    Instead of saying variable 1 is not equal to 1 and variable 1 is not equal to 7, I want to say variable 1 is not equal to "the following things", to make it faster and easier and to fit in script calls without need of a script call extender. Hm, I would wonder how I could do in a script call...

Latest Threads

Latest Posts

Latest Profile Posts

Next goal is to make pull & push + lift & throw systems with mouse support and have skill levels in them and action indicators!
>What's your avatar about? Is it yours?
I did not do that drawing. It's a screenshot taken from a comic featuring characters from Touhou such as Tenshi and Iku (the girl in the avatar). It's drawn by someone under the name of Yohane.
Link to the comic (SFW, but navigating around Dynasty Reader is NSFW)
Progress on my game is nearly done, so I figured I show you guys the title screen. I hope you like it!
Title Screen.png
Does this ever happen to anyone?: your making a battle sprite [or any sprite] then when you mess something up you then see it as something diff, then working with it? its hard to say in words but it happens to me all the time
found out how to change pfp, literally there's a hidden thingy on the bottom of it

Forum statistics

Threads
109,167
Messages
1,042,666
Members
141,665
Latest member
beauty143
Top