Thanks for the warning, I didn’t even know I double posted, I’ve gone ahead an edited the title with “[Solved]” at the beginning. Thanks to everyone for your help!
Edit: I’ve just reported one of the posts at solved, again thanks for everyone’s help!
Just tested it and it works like a charm, thanks so much for your help! Sorry if I gave you a hard time, like I said, I know little to nothing about JavaScript. I'll be sure to add your username to the credits for sure.
Thanks, I’ve seen that function while I was doing some research, and now I’ll take a look at it when I have the chance. You have a nice one!
Edit: I just notice the script you left for me, I’ll test it when I get a chance.
Forgive me, I’m not accustom to JavaScript like you are, all I know is how to code in C++, a little bit of Java, a little bit of C#, HTML5, and a little bit of CSS. I’ll resume working on the game when I have time, I’ll update you here should something come up. Thanks for all your help.
I tried using splice, but it deletes my event, I don't know if my syntax is wrong or what.
const arr = $gameVariables.value(22); const rand = arr[Math.randomInt(arr.length)]; $gameVariables.setValue(2, rand); arr.splice(rand, 1); rand
Game variable 22 is where I'm using the array, and game...
I tried using the get number script you provided, and the game reports back saying "arr.remove is not a function". I think what you meant was arr.splice if my research is correct, but when I try to use that it deletes my event. I also would like to know, how do I store the value into another...
Hello Everyone, how are you doing? I'm developing a game for my birthday, where it will be used a as game show to quiz people on video game trivia and video game challenges. Most of the fundamental pieces of codes are working, however one is incomplete, and that's the random number generator...
Thanks for your reply once again, all I have to say is DOH, I should have known that from coding classes that I took in college. Thanks for your help, I’ll be sure to give that a try and report back ASAP. You have a nice one.
Again, thanks for your reply, I thought calling an event might simplify things for what I’m trying to accomplish, but if experience has thought you that, I guess I’ll try using common events, or try sequence my conditional branches/control variables. I’d greatly appreciate if you can refer me to...
Thanks for your replay, so wait, I'm confused, what if I call the event, then have it check and set the variables whiten the event that's called, would that work?
Thanks for your reply, as for what I'm trying to do, I'm trying setup a command that checks the value of a variable and see if it's in a certain range, like 1-10, that's what I meant by using greater than or equal to 1. Next after it verifies that the variable is within the condition of the...
Hi guys, how are you doing today? I'm having trouble figuring out how to use conditional branches to check the value of a variable, then set a number for another variable. I tried earlier with a different event, using nested if else conditional branches, but to no avail, it would only show the...
Thank you guys for your support! After going through all the things you recommended I do, I decided that I will use SRD Hudmaker, since it’s the easiest plugin I can use. I’d also like to add that those who recommend this plugin, will be in the credits of my game!
Ugh-I HATE this! There's construction going on in my area and because of that my Internet connection is wonky; this site in particular keeps constantly freezing up on me; I can't even barely type a single sentence without the page freezing in the middle of it! I hope this changes soon.
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.