CRK Pulling help

How do you create the randomness and rarities of a pulling system?

2 Likes

I haven’t used GKC for a while, but to create randomness, you need that thing that picks a random number between 2 numbers inside blocks. (including said 2 numbers.)
About making the actual code, I can kind of do that??? It’s really inefficient, but basically, you do this, or something.

I guess just do this, but use else if (or elif) instead of nesting if else blocks multiple times to save blocks. (I just took a screenshot from scratch)

Sometimes, you can also use notifications as a trigger in some situations to save 30 memory.

Use a device with code blocks and ig use channels normally i use trigger
Anyways
To make the code
Make when triggered block
If

  • (random integer between value1 and value2) = (value3)
  • Then
    • broadcast on channel
  • Else if
  • put same code as before
    Repeat until done
1 Like

Heres some code that i use to randomize respawn message in my platformer (sry for 2 pictures)


1 Like

There is already a community guide on it but with random d3ath messages, just use that i guess but with pulling? You can have button and wire to whatever

1 Like