Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

random variable question

18 years ago

ok, i have 3 possible outcomes from a random variable. less than or equal to 24, list between 25-99, and equal to 100. now, the question is this. say i wanted to test my random variables. would i have to test the variable exactly 100 times to get that 3rd outcome? or would it be like a trillion tries due to the randomness?

nate

random variable question

18 years ago
Well, I tried to get something for 1 in 20 and I didn't get it after 100 tries.  Why would you want exactly 100?

random variable question

18 years ago

i wanted something that was hard to get. lol hidden surprise that only happens by chance. im trying different things in this game. some surprises you can skillfully get, others are hopefully going to be by randomness. mostly skilfull though. i just didnt want to have to test it 100 times to see if that one link would ever get hit. no reason to even attempt putting it in unless i know its attainable. and since im still a newbie in terms of random variables i just wanted to test it.

nate

random variable question

18 years ago
It's like rolling real die.  My game has randomness determine how much experience you need to get to the next level.  I use scripts to have it so that level goes up in the background.  Cool huh?

random variable question

18 years ago

goes up in the back ground? what do you mean by that? that reminds me though. i need to think about levels in my game too. cant wait for those script articles are written. i need to go see those other sites that solo recommended too.

nate

random variable question

18 years ago

Well, due to randomness, it could actually be 100 every single time, or it could take a billion billion times to get 100. But chances are it will take around 100 times.

My recommendation is to have a temp link that loops back to the same page and increases the variable to 100.

random variable question

18 years ago

another trick of the trade by AP. sweet. lol ill have to try that.

nate

random variable question

18 years ago

here is how my random events will work:

If it is a GOOD random event, it is based on a LUCK variable, if the luck variable is for eg, 16, then a random variable that is 1d100 is put through and if it is between 1 and 16, ANOTHER variable is put into effect that does 1d100, and based on how rare the GOOD random event is, a certain percent must be obtained for the event to happen. For eg, 30% would be 1 to 30 etc. If it is a BAD random event, another variable, lets say UNLUCKY and it works the same way. To get a differiantion on good and bad events, a 1D2 variable is used, 1 is good, 2 is bad. and for added difficulty to obtain these events, you can have like 1d10 where 1to 4 is good, 4 to 8 is bad and 9-10 is nothing. By the way, i have not used this yet, but do to scripting, it will work!

random variable question

18 years ago
o btw, this is in response to your game and how the events work, etc.. i thought you may want to see hwo i do it...

random variable question

18 years ago

you and your fancy schmancy way of doing things lol. ill have to think about it. but for now im going to stick to the way i know best. i need to, im writing right now so i best stick with what keeps me writing lol.

nate

random variable question

18 years ago

alright, here is the deal, i am the type of person who wants to help all with what i know, i have offered so many times to people but the way things go, i never get time to finish it (and proof is that i have not released another game since cryptode which was over 6 months ago) so i would offer to help you wiht the random events, Nate, but i am too tied up with writing the scripting articles and working on Cryptode 2. Sorry Nate, but i WILL do the dice game for you lol.

Thanks for your understanding :)

solo

random variable question

18 years ago
what i am hoping is that my articles will be enough that ppl can do it on their own without trouble...

random variable question

18 years ago

please dont take offense. im just picking on you. dont worry about that dice game for now. write those articles. more people need those than anything else. besides, thats not the game im currently working on so im in no hurry at all. i am totally in your debt for all the help that you have given both to me and everyone else. you are vital to the success of this site. im getting along fine with the variables. besides, i shouldnt be as worried about them as i am anyway. i should just write and not worry about the bells and whistles. its my writing that needs the work lol. im totally psyched about cryptode 2 now by the way.

nate

random variable question

18 years ago

no no, no offense was taken, and i guess you read the description on cryptode 2 lol

 

solo

random variable question

18 years ago

sure did. sounds massive. i cant wait. i also noticed you like transporter 1 & 2. i love those movies. not the best of plots, but some awesome fighting and action. i mentioned transporter 2 in my game Schooled For Life. it was involved in the "romantic" evening thing. lol

nate

random variable question

18 years ago
lol ya, it [transporter] was pretty good, basically it was the only movie i could remember while searching those bars, since i had watched the first one the previous night lol.

random variable question

18 years ago

haha. thats another question i have though. how do you get those things on your profile? almost everyone i see other than me has them.

nate

random variable question

18 years ago
www.userbars.org

and then find some userbars using the search, and click on them userbars, there will be a few button and click the first one, the one that says to add the code, and then paste that code in your profile page in the source.

random variable question

18 years ago
DANMIT AFTER ME EVERYONE ON THIS SITE IS DOING IT lol hahahahahah

random variable question

18 years ago

cant say that i will ever do those ad things. not much use for them in my opinion.

nate

random variable question

18 years ago
yeah theyre just like dumb things to show what you like. kinda boring really.

random variable question

18 years ago
JJJ, jimi_the_z may have had them before you, thats where i saw em as well... anyways i thought you were/are in England?

random variable question

18 years ago

england? wow, thats way off. hes in Tanzania! lol jk. hes in canada too, last i heard. 

nate

random variable question

18 years ago

oh, thats what you meant. i thought that you were saying that you thought he lived there. sorry. my bad.

nate

random variable question

18 years ago
lol np

random variable question

18 years ago
I am in negland. ON THE FASTEST COMPUTER YOU WILL EVER SEE!

random variable question

18 years ago
I can't see that computer...

random variable question

18 years ago
hahahah he got it from hte military, it was part of the bonuses for theis job he did.