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=...
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=[]...
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...
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...
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...
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...
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 =...
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...
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 =...
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){ ...
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...
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...
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...
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...
so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most.
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.