#When two attribute collapse by math.random() I want them to merge together, like balls.rng

42 messages · Page 1 of 1 (latest)

fervent cedar
#

here the entire script:

grand coral
#

yooooo

fervent cedar
#

hello

robust thistleBOT
#

studio** You are now Level 1! **studio

mint ermine
#

That’s multiplication

fervent cedar
#

what should i use to merge them together and create a new attribute ?

#

chatgpt offered me that ☠️

fervent cedar
#

or you want me to explain better ?

#

i would be glad to explain

mint ermine
#

What do you mean by merge

fervent cedar
#

like this

mint ermine
#

Add together?

fervent cedar
#

imagine there are 2 RNG

#

1st RNG is 1 in 4

#

2nd RNG is 1 in 5

mint ermine
#

Ah

fervent cedar
#

when both of them manage to become 1

#

they will merge and make a new attribute

#

like balls.rng (if you heard of it)

mint ermine
#

Alright

fervent cedar
#

so yeah

#

chatgpt offered me *

#

i used it, but nothing happened

mint ermine
#

So just + them

fervent cedar
#

i already did

#

but its not making them merge

mint ermine
#

Weird

#

Oh

#

It’s because your only checking for a condition, not wether to change it

fervent cedar
#

when i use elseif random1 > size_brick + balled_brick then they are merging together

fervent cedar
#

but not other attributes

mint ermine
#

🤷‍♂️

fervent cedar
mint ermine
#

Nope

fervent cedar
mint ermine
fervent cedar
#

oh alr